How much can I control what sites can link to my pages?
Moderator: General Moderators
-
Dick Angel
- Forum Newbie
- Posts: 1
- Joined: Fri Feb 07, 2003 5:58 pm
How much can I control what sites can link to my pages?
I want to allow other web sites to subscribe to certain pages I create, so their viewers see them as part of their pages. If they have not subscribed, I don't want my pages to load if they try to link to them. Can this be done with php and mySQL? Is there anything out there that already does this kind of thing? 
-
fractalvibes
- Forum Contributor
- Posts: 335
- Joined: Thu Sep 26, 2002 6:14 pm
- Location: Waco, Texas
Ok - assuming they must provide you with some info when they subscribe,
perhaps at the top of your pages you could check the requesting IP address via the collection of server variables in the HTTP request and redirect to another "DENIED" page if it doesn't match with one of your subscribers(which would be contained within a database).
An Idea perhaps....
Phil J.
perhaps at the top of your pages you could check the requesting IP address via the collection of server variables in the HTTP request and redirect to another "DENIED" page if it doesn't match with one of your subscribers(which would be contained within a database).
An Idea perhaps....
Phil J.
maybe what you are asking for is checking referer url? that is possible but not at all failsafe, actually, I don't think there are many failsafe options other than having the providing site pull the stuff from yours and display on theirs (requiring them to have som scripts on their site), authenticated by IP or posted login..