Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2013-02-05, 03:07 PM   #1
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
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.
pc is offline   Reply With Quote
Old 2013-02-16, 08:55 AM   #2
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
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).
ecchi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:07 PM.


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