How do I handle user authorization the safest way?

Posted by Irro on Stack Overflow See other posts from Stack Overflow or by Irro
Published on 2010-06-12T14:58:09Z Indexed on 2010/06/12 15:02 UTC
Read the original article Hit count: 233

Filed under:
|

I'm developing a small website where I'm going to allow user to create accounts but I'm quite clueless when it comes to safety around authorizations.

I have built my project in PHP with codeigniter and found a library (Tank Auth) that could handle authorization for me. It stores password in a safe way but I'm still worried about the part when the user sends their password to my server.

One easy way to do it would be to send the password in a post-request but I would guess that it's quite easy to sniff such a password. Should I do something with the password on the client side before sending it to my server? And is there any good javascript libraries for this?

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter