View Full Version : 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, 09: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).
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.