Deny Access to a Directory

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

 



Would you know What is the best way to prevent a network subnet to access to a particular directory via Apache2?

Here is what I have done so far and it doesn't seem to take effect.  End user are still able to get access to the folders.

I must miss a piece of puzzl but not quite sure what it is.  

 

 

<Directory "/images/">
  Options None
  Order deny,allow
  Deny from all
  Allow from 172.16.0.0/255.255.0.0
</Directory>

 

<Directory "/radio/">
  Options None
  Order deny,allow
  Deny from all
  Allow from 192.168.100.0/255.255.255.0
</Directory>


Thank you.

Y


[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