Upgrade to Pro — share decks privately, control downloads, hide ads and more …

User Identity

User Identity

Presentation on user identity as [blogged][1] and [mocked up][2] by @qnoid

Discussion on [Google+][3]

[Demo][4]

[1]: https://gist.github.com/4049293
[2]: https://gist.github.com/4052818
[3]: https://plus.google.com/116431322187209993066/posts/XWbTmuxr921
[4]: http://www.youtube.com/watch?v=_9Zu-AHhXyo

Markos Charatzas

December 12, 2012
Tweet

More Decks by Markos Charatzas

Other Decks in Technology

Transcript

  1. Residence *iPhone d169281479a1ccdb95eb611f48886206193d72f6*sha • world wide unique • secure enough

    1. http://en.wikipedia.org/wiki/SHA-1#Comparison_of_SHA_functions 1 “Theoretical attack (2^51)” Wednesday, 12 December 12
  2. Create user @user = User.new( :email => @email, :residence =>

    BCrypt::Password.create(@residence), :token => Digest::SHA1.hexdigest @email + @residence) *ruby, rails n00b salt + hash 1. http://codahale.com/how-to-safely-store-a-password/ 1 Wednesday, 12 December 12
  3. Email token to user to verify mail(:to => @email, :subject

    => "Please verify your email") Wednesday, 12 December 12