I have a login form that will submit id and password to a php file which will then check that id and pw against data in an SQL database. How can i encrypt the outgoing form data to make sure nobody can see it until it gets to its destination? the login form code is
<html>
<head>
<title>
Login page
</title>
</head>
<body>
<form name="login" action="fetchalldata.php" method="post">
Username : <input type="text" name="userid"/>
Password : <input type="password" name="pswrd"/>
<input type="button" name="submit" value="Login"/>
</body>
</html>
would prehashing the password on the database and sending a hashed password be more effective?
To set up Encrypted Forms for individual forms simply select Settings, and then, under Form Settings, switch Encrypt Form Data option to 'Yes'. By clicking on the Accounts page you can designate all future forms to be encrypted under Data tab. Using our Encryption Key Wizard you can create a secure private key.
The two most widely used methods for data encryption are public key, also known as asymmetric encryption and private key, or symmetric encryption. Both rely on key pairs, but they differ in the way the sending and receiving parties share the keys and handle the encrypt/decrypt process.
transitive verb. If a document or piece of information is encrypted, it is written in a special code, so that only certain people can read it. Account details are encrypted to protect privacy.
SSL is the answer. The only answer.
However, if you must try go go with a home brew solution here is an idea to consider:
This is still a lousy idea, but it isn't as lousy as sending plain text passwords.
Use SSL. Really.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With