This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-19 12:49:43

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

cloud variables

will everybody be able to access the information stored in cloud variables and lists or will there be a way to make them private?

Offline

 

#2 2012-07-19 13:01:16

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: cloud variables

Currently they are open variables. However, some Sratchers have suggested a way to lock them, which may be accepted.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#3 2012-07-19 13:04:19

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: cloud variables

You mean by "open variables" that anybody could go and edit the cloud data even if they weren't supposed to?


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-07-19 13:08:10

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: cloud variables

Wes64 wrote:

You mean by "open variables" that anybody could go and edit the cloud data even if they weren't supposed to?

That sounds like it. And that would mean people can change high scores if they are posted.


It's my birthday. Deal with it.

Offline

 

#5 2012-07-19 13:16:36

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: cloud variables

maxdoss wrote:

Wes64 wrote:

You mean by "open variables" that anybody could go and edit the cloud data even if they weren't supposed to?

That sounds like it. And that would mean people can change high scores if they are posted.

Hmm... thats not exactly what I had in mind for cloud variables. I dont think I like that. I mean if everyone can edit it, whats the point? You might as well just have a poll in the comments because nobody can change those.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#6 2012-07-19 13:20:04

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: cloud variables

Wes64 wrote:

maxdoss wrote:

Wes64 wrote:

You mean by "open variables" that anybody could go and edit the cloud data even if they weren't supposed to?

That sounds like it. And that would mean people can change high scores if they are posted.

Hmm... thats not exactly what I had in mind for cloud variables. I dont think I like that. I mean if everyone can edit it, whats the point? You might as well just have a poll in the comments because nobody can change those.

The only way you can change the value of a cloud variable is to remix the project with the variable, you can't change the variable within that same project unless its programmed that way.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#7 2012-07-19 13:31:04

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: cloud variables

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

Offline

 

#8 2012-07-19 13:33:24

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: cloud variables

scimonster wrote:

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

Wow, I'd like to get my hands on that API, that would be sweet!  big_smile


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#9 2012-07-19 13:34:17

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: cloud variables

scimonster wrote:

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

would this not be problematic when creating projects with usernames and passwords?

Offline

 

#10 2012-07-19 13:38:55

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: cloud variables

scimonster wrote:

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

oh thank goodness.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#11 2012-07-19 13:41:53

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: cloud variables

777w wrote:

scimonster wrote:

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

would this not be problematic when creating projects with usernames and passwords?

That's why passwords should be encrypted.

Offline

 

#12 2012-07-19 13:45:58

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: cloud variables

scimonster wrote:

777w wrote:

scimonster wrote:

Only the creator of the project can change cloud variables in edit mode, and it doesn't save changes when you go back to play mode. If it is programmed to modify cloud data, it can be done.
Anyone can read them (there's even an API of sorts for reading outside of the project), but not everyone can modify.

would this not be problematic when creating projects with usernames and passwords?

That's why passwords should be encrypted.

but if one can design scripts to encode and decode passwords surely another may use those for stealing passwords

Offline

 

#13 2012-07-19 13:47:05

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: cloud variables

777w wrote:

scimonster wrote:

777w wrote:


would this not be problematic when creating projects with usernames and passwords?

That's why passwords should be encrypted.

but if one can design scripts to encode and decode passwords surely another may use those for stealing passwords

Who said anything about decoding? Real encryptions aren't decodable.

Offline

 

#14 2012-07-19 13:51:36

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: cloud variables

scimonster wrote:

777w wrote:

scimonster wrote:


That's why passwords should be encrypted.

but if one can design scripts to encode and decode passwords surely another may use those for stealing passwords

Who said anything about decoding? Real encryptions aren't decodable.

if someone can make a script to encrypt a password couldnt someone use it to make the opposite or am i just not getting something here

Offline

 

#15 2012-07-19 14:02:55

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: cloud variables

777w wrote:

scimonster wrote:

777w wrote:

but if one can design scripts to encode and decode passwords surely another may use those for stealing passwords

Who said anything about decoding? Real encryptions aren't decodable.

if someone can make a script to encrypt a password couldnt someone use it to make the opposite or am i just not getting something here

It's not encryption. Encryption is meant to be reversible. Sci means hashing, which is not reversible. Md5 and sha1 are hashes.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#16 2012-07-19 14:15:01

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: cloud variables

MathWizz wrote:

777w wrote:

scimonster wrote:


Who said anything about decoding? Real encryptions aren't decodable.

if someone can make a script to encrypt a password couldnt someone use it to make the opposite or am i just not getting something here

It's not encryption. Encryption is meant to be reversible. Sci means hashing, which is not reversible. Md5 and sha1 are hashes.

my problem is that i had an idea that would involve storing information then reading information again and displaying it onscreen. without private cloud variables, encoding and decoding are useless as long as people can see the information

Offline

 

#17 2012-07-19 17:35:44

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: cloud variables

777w wrote:

my problem is that i had an idea that would involve storing information then reading information again and displaying it onscreen. without private cloud variables, encoding and decoding are useless as long as people can see the information

I would encourage people to chose a different password than on their email/scratch accounts etc. for this reason; other people would be able to see them. Any sensitive information that would need to be protected most likely shouldn't be on Scratch anyway. Of course, you can still have different "accounts" for people to save their game data, but others would be able to see it.

Offline

 

#18 2012-07-19 17:40:26

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: cloud variables

silvershine wrote:

777w wrote:

my problem is that i had an idea that would involve storing information then reading information again and displaying it onscreen. without private cloud variables, encoding and decoding are useless as long as people can see the information

I would encourage people to chose a different password than on their email/scratch accounts etc. for this reason; other people would be able to see them. Any sensitive information that would need to be protected most likely shouldn't be on Scratch anyway. Of course, you can still have different "accounts" for people to save their game data, but others would be able to see it.

its not about passwords actually, its another idea i had
im not gonna say it though since some people enjoy stealing others' ideas

Offline

 

#19 2012-07-20 01:50:32

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: cloud variables

That's actually a pretty good question.

Some people may want to make a survey and not have others see the answers.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#20 2012-07-20 07:06:58

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: cloud variables

Anyone can modify cloud data. Protection is done client-side, there is no protection server-side. I just aren't telling you how to do it, so somepony doesn't try to hack something. But if a mod (most likely sci, cause he's on the topic) wants to help me figure it if it would work in the real world, and make a patch for it anyways, please do. But either way, this is just another insecurity.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer