javascript - PHP Secure Login - Client-side options? -
Right now I'm confused for the authentication I use with Codeigniter to get advice from the user on libraries I am here. I have detected dx_auth and simpleloginsecure (I think I will use it later due to my safe hashing and small footprint).
But, what about the hashing of the password on the client side? I have not seen any mention of this in the documentation of libraries. How secure is these libraries, even if there is no need to have some client-side encryption (JS) so that passwords can never be posted in plain text? Or am I missing something and none of these libraries cover it ...
thanks
Update: However, I was under the assumption that it was PHP The codinator plugin) were in exchange for the SSL (were I completely wrong here)? If I am wrong, then is there a safe way to complete it without SSL? (Previously I used the JavaScript MD5 hash function to encrypt the password before posting it ... but I was expecting more securely).
Update 2 is OK - so it seems that I should use SSL. If this is the case, then what are the fancy php certification libraries that do all kinds of hashing? If the SSL takes care of encryption on the server from the client, then what is the point of using these libraries (dx_auth etc), besides also involving role capabilities in it)? Is it to ensure secure storage of data on server / database? (I can compare the level of sensitivity of the data on that project, which I am working on Stackoverflow..no credit card or some more sensitive, just usernames, passwords etc.)
To encrypt the client-side data, you will need SSL.
Basically the SSL Browser starts the encryption key, each session that is encrypted with post variables, and then the server is decrypted at the other end.
JS encryption can actually make your system less secure because it will expose your hashing algorithm. / P>
Update:
Password hashing does not protect it from being trapped between client and server, rather it means that if someone hacks your site To get access to your database, or in any way, all passwords are not viewable in plain text. This is particularly important because many people use the same password for multiple sites.
Comments
Post a Comment