I have an administrative area on my site where users with different securtiy levels can see different pages. This was done with a couple of tables which capture users and a security setting. It has been working great. Probably our biggest exposure now is that the user name and password are sent at clear text. We don't need super protection... just a bit more than we have. I don't have the ability to install dll or components on the server and we don't want to use SSL... basically we need something simple and zero cost.
From reading this forum, I am getting the idea this could work:
1)encrpyt the password client side with javascript
2)store encrypted password in the database
3)encrypt logins and have server compare to database
Would this work?
I don't do much with javascripts... would this script work
function encrypt(password)
{
var checkSum = 0;
var multiplier = 1;
for (var i = 0; i < password.length; i++)
{
checkSum += (password.charCodeAt(i) * multiplier);
multiplier *= 3;
}
return checkSum;
}
From reading this forum, I am getting the idea this could work:
1)encrpyt the password client side with javascript
2)store encrypted password in the database
3)encrypt logins and have server compare to database
Would this work?
I don't do much with javascripts... would this script work
function encrypt(password)
{
var checkSum = 0;
var multiplier = 1;
for (var i = 0; i < password.length; i++)
{
checkSum += (password.charCodeAt(i) * multiplier);
multiplier *= 3;
}
return checkSum;
}