Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alternative to HTTP_REFERER

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I've been using HTTP_REFERER as a check to make sure that certain scripts are only run from certain other scripts. I've only used it in low impact or otherwise secured areas, but I need an alternative that I can use in public facing scripts. What options are there to make sure that a script cannot be run from unauthorized places?
 
Let me elaborate on that. If you want a specific order in your pages (such as start with a login page), sessions are the way to go. But if you want to block a country for instance, there is no really reliable way to do that.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
Hex (in Darwin's Watch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top