Hi All,
I'm passing a username and password via the URL (standard parameter system), however for security reasons I want to encrypt the password in the URL and decrypt it after $_GET(ing) it.
Can anyone tell me what to do, and how secure that would be?
Many thanks
Mark
Encryting password information parsed through URL
Moderator: General Moderators
- dull1554
- Forum Regular
- Posts: 680
- Joined: Sat Nov 22, 2003 11:26 am
- Location: 42:21:35.359N, 76:02:20.688W
let me see if i get u right, you are gethering a pass and username through a form and submiting data through the Get array,
why not use post, but then u can use md5() hashing to encrypt your pass/uname. u can't unencrypt them but to compare that to something else u just md5() the thing your comparing with....
why not use post, but then u can use md5() hashing to encrypt your pass/uname. u can't unencrypt them but to compare that to something else u just md5() the thing your comparing with....
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
if your using a form, int he form method instead of having get, put post:
Code: Select all
<form action="page.php" method="POST">
....
</form>