Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   restrict access to url address via referrer (http://www.greenguysboard.com/board/showthread.php?t=65256)

pc 2013-02-05 03:07 PM

restrict access to url address via referrer
 
What would be the best way to restrict access to a page so it can be accessed only from a certain place. Yes I googled and there seems to be a few ways to achieve that. Bulletproof one I need.

ecchi 2013-02-16 08:55 AM

Depends how many allowed domains. If you only allow access from a small number of domains I'd simply go via a simple Perl if else loop (IE: If if referring URL is one of these redirect to your locked page, else redirect it to a sponsor or whatever).


All times are GMT -4. The time now is 01:49 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc