I am currently working on a web host that does not have an HTTP_REFERER server environment variable. I had originally put into my execution scripts a call to check $_SERVER['HTTP_REFERER'] to make sure they were being called by a page on my server, but now I don't have that option.
Does anyone know how I might be able to replicate this functionality without a HTTP_REFERER check? I suppose I can rewrite my code to pass a password between pages, but the hacker could just look at my page sourcecode to see what the password is - not much security there...
I suppose I could set a SESSION variable and check against that on my execution scripts, but I don't know how easy it would be to replicate a SESSION variable for a hacker to get at my scripts.
I could create a ReWrite rule in my .htaccess file where my execution scripts reside, but the ReWrite rule would be dodgy at best, as it doesn't seem to work like normal Apache servers.
Any ideas or suggestions would be most helpful...