Discuss Scratch

wbpx9201
Scratcher
100+ posts

Cloud Login System?

Is it possible to have a cloud login system where people have username and passwords and they are saved? If so, how do you make one?


dr3w8
Scratcher
100+ posts

Cloud Login System?

It would be a lot easier once cloud variables can contain letters/symbols and cloud lists are able to be used. Right now, there are some cloud list simulations but sometimes the cloud variables reset due to glitches.

danwoodski
Scratcher
100+ posts

Cloud Login System?

There's always the username block too (bottom of the sensing category) that just reports the person's scratch username, if that would work for whatever you're trying to do.
dsaztur
Scratcher
500+ posts

Cloud Login System?

The problem is.. the passwords won't be safe. Everyone can see them.

no
DadOfMrLog
Scratcher
1000+ posts

Cloud Login System?

dsaztur wrote:

The problem is.. the passwords won't be safe. Everyone can see them.

Creating password-encrypted user data isn't so hard (I made an unshared project a while back which does it). Note that encryption is not the same as encoding (which is what people are doing with cloud data here normally). If it's encrypted, nobody* can decrypt it to look at it without knowing the right password…

(* well, maybe almost nobody - depends how good your encryption algorithm is, how good the snooper's mathematicians are, and if they happen to have a few thousand computer nodes lying around to run through possibilities…)


Alternate account: TheLogFather –– HowTos and useful custom blocks (see studio). Examples below…


- String manipulation - - - X to power of Y - - - Clone point to clone - Detect New Scratcher - Speed tests studio -

JAVAProgramming
Scratcher
100+ posts

Cloud Login System?

wbpx9201 wrote:

Is it possible to have a cloud login system where people have username and passwords and they are saved? If so, how do you make one?
Yes, you'd need a cloud variable, a list and a encoder/decoder.

How exactly you'd go about doing so, I don't know…

But, you could assign everyone a number, and use the username block when the green flag is clicked. So then you'd have to make sure the link the username to the password…. Maybe two lists, one with a username and a number corresponding with the username, and another with the number corresponding to password.

Last edited by JAVAProgramming (Sept. 1, 2013 00:21:18)


My Newest Project, Come Check It Out
Dots, On Scratch
Want to change the way we count? The Dozenal System.

“The story so far:
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.”
― Douglas Adams, The Restaurant at the End of the Universe
k9lego
Scratcher
1000+ posts

Cloud Login System?

If you need help on saving things, I might be able to help.

- Let's Eat  Grandma! This is a hidden advertisement for the Collab Hyper Cloud Inc. :)
- Let's Eat, Grandma!
Commas Save Lives!























Nothing Much here…



















If you want to reply to me, please comment with the link to the topic “On my profile page”. thanks. k9lego
wbpx9201
Scratcher
100+ posts

Cloud Login System?

dsaztur wrote:

The problem is.. the passwords won't be safe. Everyone can see them.
It wouldn't really matter if it wasn't secret. It could just be for save data, character customisation etc.


Leonhard08
Scratcher
19 posts

Cloud Login System?

ZacDeC
Scratcher
3 posts

Cloud Login System?

Like someone had said before, using the username block would help. This would provide more security as no one would be able to find out the username without that persons account. I made one that logs you in automatically using that persons username.
giacomo78
Scratcher
51 posts

Cloud Login System?

It would be MUCH easier if you used the
(username)
block. Like that, it doesn't even have to load extra stuff for cloud. no one would be able to hack unless they hacked the user, so, this is probably the best way to do it. Here's an example:
when green flag clicked
if <(username) = [giacomo78]> then
else

end

Hello. PLEASE check out my projects! They're not all too bad…
JacobyJr
Scratcher
31 posts

Cloud Login System?

I don't know how to create one with a username and password. But I do know how to create one with a secret code.

To login:
Create a list called “Whatever you want”

Add at least 10 secret codes to the list.

Add a script like this:
When flag clicked
Ask “Code:” and wait

If Else
-If “Whatever you want” contents answer then

Make it do whatever you want.

To create account:
Add script like this:
When this sprite clicked
Ask “Name:” and wait
Say join “your account code is” with item random of “Whatever you want”.


when green flag clicked
if <[ v] contains [ ]> then
say [Logged In!] for (2) secs
end

Last edited by JacobyJr (Nov. 23, 2014 15:40:09)




My Secret Message
Can you solve my secret message?
JacobyJr
Scratcher
31 posts

Cloud Login System?

Hi!

I'm back

I have managed to find out how to make a log in system in Scratch.

I don't know how to but you might know how to make a cloud list.

- If you do you can sign up.

Also in the project there are two lists. One is the username list and another is the password list.
So… the passwords are randomly mixed up, so if there was 100 users it would take forever to find out a certain users password.

It's too much to say so view my project instead.

Thanks!

JacobyJr

Last edited by JacobyJr (Nov. 23, 2014 15:38:33)




My Secret Message
Can you solve my secret message?
lederniersamourai
Scratcher
500+ posts

Cloud Login System?

Actually, saving data specific to a user is the same as creating a scoring system with usernames: instead of saving scores associates to usernames, you just save whatever data you want.
See the recent very loved project (not mine): Impossible Valley 3D
There is a very nice scoring system.
JacobyJr
Scratcher
31 posts

Cloud Login System?

Check out my project: http://scratch.mit.edu/projects/35980252/

Tell me if it's good.



My Secret Message
Can you solve my secret message?
adsfmovie
New to Scratch
8 posts

Cloud Login System?

—————————————————————————————————————————————————————————————————————————–
mutebender
Scratcher
11 posts

Cloud Login System?

Look here: http://scratch.mit.edu/projects/51497640/

Last edited by mutebender (March 14, 2015 12:44:32)

boooey1
Scratcher
100+ posts

Cloud Login System?

This would be possible, and maybe even easy with encoding and decoding. You would need a cloud variable to store the things on, but there is a limit on how large a cloud varialbe can be so maybe make another one once it fills up.

:) Go Eragon Collab!
Join the dragon rider project (aka the Eragon Collab)! We need a lot of help!
mutebender
Scratcher
11 posts

Cloud Login System?

Look here: http://scratch.mit.edu/projects/51497640/

Hope i help you

Last edited by mutebender (March 14, 2015 12:44:04)

DarthLegos
Scratcher
12 posts

Cloud Login System?

Powered by DjangoBB