Re: Allow access only from the index page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 Feb 2014, at 09:55 , fabio.schmidt@xxxxxxxxxxxxx wrote:

> Thanks for the answers, I will try with HTTP_REFERER.

Be aware that this will mean that no pages on your site can contain any links to your site, so if someone goes to index.html and then to foo.html, foo.html cannot link to bar.html. While you may think you want this now, in a couple of years when you forget about this redirection you are going to be pulling your hair out and screaming in rage when you try to modify your site and this doesn't work.

Also, be aware that the referrer is provided by the client, and is trivially spoofable. If you are trying to do his in an attempt at security by obfuscation, it won't work.

-- 
Atheism is a non-prophet organization.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux