I know I'm probably asking a stupid question, but why can't my browser adopt some variation of OAuth and automatically authenticate me everywhere, forever? Imagine if we never had to discuss sign-up forms anymore. Everyone has an identity built into the browser, no questions asked. That's way better thank cookies, and just as transparent. What am I missing? It would just take one browser (such as Chrome or Firefox) t…
What Craigslist Did Right: User Management Without Usernames or Passwords
21–30 of 35 posts
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#22Craigslist has a big spam problem to deal with; anonymous e-mail based accounts make spamming very easy. They've dealt with this through phone verification -- if you try to post to a high-spam category, or your account is otherwise suspicious looking, you get prompted to enter a phone number and take an automated call or SMS with a code to put in the site. That phone number gets tied to your e-mail and can't be used…
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#23This looks wide open to csrf attacks. Another site can post a form on behalf of a user automatically, and the cookies for job poacher will be sent. Meaning that a malicious site can take actions on behalf of a logged in user. Perhaps their solution is more complicated than they let on, but I doubt it given it's "20 lines of code".
Rails has CSRF protections baked in; unless you explicitly turn it off, non-GET requests require a CSRF token associated with the user session to complete successfully.
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#24assume your employer can see everything you are doing.
what are you doing job hunting on his dime anyway? uncool.
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#25It sends you a confirmation email which you must click on before your post is broadcast to other buyers and sellers.
I figured this beats user accounts because students buying / selling users would come here at most once per semester, they are never going to remember their account credentials anyway.
No spammers, yet. (the spammers post without confirming)
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#26Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#27Craigslist has a big spam problem to deal with; anonymous e-mail based accounts make spamming very easy. They've dealt with this through phone verification -- if you try to post to a high-spam category, or your account is otherwise suspicious looking, you get prompted to enter a phone number and take an automated call or SMS with a code to put in the site. That phone number gets tied to your e-mail and can't be used…
You pay to post a fake job (something unskilled that will get a lot of applications) on a site like Simply Hired, Indeed, etc. Applicants come to your fake careers site. Applicants fill out the application for the non-existent job and are asked to input their phone number to verify their application.
When they input their phone number, the backend of the careers site submits that number to Craigslist. The applicant receives the call from Craigslist which reads them a number. The careers site instructs them to enter the number to confirm their application.
A few days later your site auto-emails the applicant saying that you're sorry, but the position has been filled. They forget about it and no suspicion has been raised.
For the price of posting a single job, you can get hundreds of phone-verified Craigslist accounts working.
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#28the thing about https and your employer.... be very aware that on managed workstations, its trivial to intercept https traffic by pushing out a new trusted ca across the company.... assume your employer can see everything you are doing. what are you doing job hunting on his dime anyway? uncool.
Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#29Why people still do this, when HMAC is even easier to use? http://www.ruby-doc.org/stdlib-1.9.3/libdoc/digest/rdoc/Dige...
It also seems like the salt here is not actually a salt, but a secret key.
Edit:
@listing = Listing.find_by_confirmation_code(params[:code])
I'm confused. If you store confirmation code, and lookup users by it, why it should be SHA1 instead of a random string?Re: What Craigslist Did Right: User Management Without Usernames or Passwords
#30Craigslist has a big spam problem to deal with; anonymous e-mail based accounts make spamming very easy. They've dealt with this through phone verification -- if you try to post to a high-spam category, or your account is otherwise suspicious looking, you get prompted to enter a phone number and take an automated call or SMS with a code to put in the site. That phone number gets tied to your e-mail and can't be used…
There's a way to get around the phone requirement, too. I've seen this as far back as 2010. You pay to post a fake job (something unskilled that will get a lot of applications) on a site like Simply Hired, Indeed, etc. Applicants come to your fake careers site. Applicants fill out the application for the non-existent job and are asked to input their phone number to verify their application. When they input their phon…