PDA

View Full Version : how to hide the sensitive URL at the address???


NinjaTurtle
01-22-2003, 03:06 AM
dear,

im try to click a hyperlink then pass a sensitive value to another form to do checking, how to avoid it show in th e URL?

example:
1234 -- <a href =delete.asp?itemcode=1234>Delete</a>, <a href =edit.asp?itemcode=1234>edit</a><BR>
2468 -- <a href =delete.asp?itemcode=2468>Delete</a>, <a href =edit.asp?itemcode=2468>edit</a>


these hyperlinks may displays more than 10 times in a page with different itemcode. so when i click on the link i will see the itemcode value, but if after the item have been deleted or ...
user may straight away keyin the itemcode to the URL... but may be he or she is not authorised to do that, but ofcos i will check the authorised to access it, but i just dun want to let them do like this so what suppose i do? or should i put them into form, then there are many forms....

joh6nn
01-22-2003, 03:34 AM
there's no way to do that, really. your best bet, is simply to check to make sure that they came from the appropriate page, eitehr using a cookie or by checking the referrer.