Re: restrict access to files

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

 



Well that is called hotlinking :)

if the uri is accessed and does not come from "" or the own domain
it's blocked, you can tweak it to include other file types than images
and disallow empty referrals as well.

~Jorge



On Sun, Aug 9, 2009 at 7:38 PM, Evan Platt<evan@xxxxxxxxxxxxxxxxxx> wrote:
> At 10:13 AM 8/9/2009, you wrote:
>>
>> This wiki article can be adapted to include other things than images as
>> wel.
>> http://wiki.apache.org/httpd/DisableImageHotLinking
>
> I believe what the OP was asking was that say there's
> www.example.com/image.jpg . If you type that URL in, you shouldn't be able
> to see the image.
> But, if www.example.com/image.jpg is a picture on www.example.com/index.html
> you should be able to see the picture if you go to
> www.example.com/index.html
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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