Log in

View Full Version : page access question



viktor
12-12-2007, 05:31 PM
Is there a way to restrict access to a page to only a specific domain?
For example, dot.com has a link to sample.htm, I want to restrict sample.htm access to anyone who is referred from dot.com, otherwise the page won't be accessed even directly.

Reason:
I have a store and it offers to send all customers to a page after they placed an order. All I can do is enter url link. I want to allow access to that page to only customers coming from my store.

Is it possible? I was thinking maybe somewhere in .htaccess file.

thanks,
viktor

Twey
12-13-2007, 04:39 AM
Not really. You can check the Referer header, but sometimes this gets stripped by firewalls, proxies, &c., so you'd probably block quite a few legitimate users.