How would i go about only letting people have access to a certain area when they arive there from a certain place?
EX:
I have a members only area. You login by filling out a simple script, and its processed in login.php. When you login it directs you to another url... mywebsite.com/membersarea. Nothing is secure, so you could just go to that URL without logging in...noone knows that, but they could figure it out.
I want to use .htaccess so that the only way you can view that directory is if you come FROM mywebsite.com/login.php. Can this be done?
EX:
I have a members only area. You login by filling out a simple script, and its processed in login.php. When you login it directs you to another url... mywebsite.com/membersarea. Nothing is secure, so you could just go to that URL without logging in...noone knows that, but they could figure it out.
I want to use .htaccess so that the only way you can view that directory is if you come FROM mywebsite.com/login.php. Can this be done?








