scorniglia
Technical User
Hi,
I am passing a variable to a form through a url that contains an id variable and CF session variables. This works fine but anyone can just the change the variable in the url and see someone elses data. So if the original url is:
main.cfm?id=36
someone can just change it to main.cfm?id=20 in the address bar, hit the enter key and see the data for the person with id 20. What is the best way to prevent this or obscure the url so it is not evident what needs to be changed?
I though about adding the id, cfid, and cftoken to one long number and then checking for this number on each subsequent page, but am not sure what would be the best way to institute this. Any ideas or thoughts about this are
appreciated. What do other people do in this scenario?
--
Regards,
Roy F.
I am passing a variable to a form through a url that contains an id variable and CF session variables. This works fine but anyone can just the change the variable in the url and see someone elses data. So if the original url is:
main.cfm?id=36
someone can just change it to main.cfm?id=20 in the address bar, hit the enter key and see the data for the person with id 20. What is the best way to prevent this or obscure the url so it is not evident what needs to be changed?
I though about adding the id, cfid, and cftoken to one long number and then checking for this number on each subsequent page, but am not sure what would be the best way to institute this. Any ideas or thoughts about this are
appreciated. What do other people do in this scenario?
--
Regards,
Roy F.