Welcome to WebmasterWorld Guest from 184.108.40.206
I would like to set up .htaccess filr that would alow customer, who comes from certan web site and note that address is masked by 2checkout address in the browser. I want that just people who will get to this page and click on download ( note: name.pdf) can start downloading.
Please, can you help me out. I have no idea how to work with .htaccess file.
Welcome to WebmasterWorld [webmasterworld.com]!
Controlling access using HTTP_REFERER alone is problematic. The main problem is that many times, the referer info is not presented by the browser, or it is blocked by an intervening firewall or corporate proxy.
You can read up on using .htaccess to control access by starting with this Introduction to mod_rewrite [webmasterworld.com] post, and following the links. However, I think you will need to use a scripted approach, cookies, IP-tracking, or some combination of these to do what you want to do.