Question
URL record ID encryption
To protect my database from hacking I'd like to encrypt the
ID information displayed in my URL. for example, currently the URL
displays
http://www.abc.com/results_details.php?result_ID=2
or something similiar depending on the ID number of the record. But wouldn't it be more secure to take each of those ID numbers and run them through an encrption scheme (md5, salt) and store them with the record? Then, when I pull the records for a recordlist I can pull the encrypted identifier. The MORE INFO link will go the same record as before, but the URL will show . . . . .php?359tifna[0sfh[w0frhas0fj (or whatever the hash has generated)
can anyone give me tips on the easiest way to do this?
thanks in advance for all help.
mike
http://www.abc.com/results_details.php?result_ID=2
or something similiar depending on the ID number of the record. But wouldn't it be more secure to take each of those ID numbers and run them through an encrption scheme (md5, salt) and store them with the record? Then, when I pull the records for a recordlist I can pull the encrypted identifier. The MORE INFO link will go the same record as before, but the URL will show . . . . .php?359tifna[0sfh[w0frhas0fj (or whatever the hash has generated)
can anyone give me tips on the easiest way to do this?
thanks in advance for all help.
mike
