Offer access to a private page without login

Posted by dccarmo on Stack Overflow See other posts from Stack Overflow or by dccarmo
Published on 2011-11-13T00:39:28Z Indexed on 2011/11/13 1:50 UTC
Read the original article Hit count: 125

Filed under:
|

So I've been struggling with a nice and easy way to allow users to access a private page without asking them to fill out a login/password form.

What I'm thinking about using right now is for each private page I generate a uniqueid (using php uniqid function) and then send the URI to the user. He would access his private page as "www.mywebsite.com/private_page/13ffa2c4a". I think it's relatively safe and user friendly, without asking too much of information. I thought maybe when the user access this page it would ask for it's e-mail just to be sure, but the best would be nothing at all.

Is this really safe? I mean not internet banking safe, but enough for a simple access? Do you think there's a better solution? Thanks. :)

© Stack Overflow or respective owner

Related posts about php

Related posts about web-programming