supermerc Posted July 18, 2007 Share Posted July 18, 2007 I know nothing about mod_rewrite but someone told me to come here to get my issue fixed. On my site i have a page, www.mysite.com/something/mypage.html But I dont want anyone to be able to acess that page unless the go to www.mysite.com/something/anotherpage.php and download the page from there. Does anyone know how to do this? Quote Link to comment Share on other sites More sharing options...
hackerkts Posted July 19, 2007 Share Posted July 19, 2007 How about trying this referer, $_SERVER['HTTP_REFERER'] Quote Link to comment Share on other sites More sharing options...
supermerc Posted July 19, 2007 Author Share Posted July 19, 2007 what do i do with that? Quote Link to comment Share on other sites More sharing options...
hackerkts Posted July 20, 2007 Share Posted July 20, 2007 On the page you wanna protect and check the referrer link. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.