Re: Can't restrict file access

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

 



Maybe you have a <Location> covering the same space with other access
control? If you overlap directory/files with location, bad things
happen.

On Fri, Apr 4, 2014 at 8:38 AM, D'Arcy J.M. Cain <darcy@xxxxxxx> wrote:
> I just noticed that files that should be blocked can easily be seen on
> my server.  I have the following code in my httpd.conf yes anyone can
> view my svn repository or read my .htaccess files.  I think that the
> first one was actually part of the sample config from Apache.  Can
> anyone see a problem?  I checked the web and found other ways to
> protect those files but none of them work either.
>
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
>     Satisfy All
> </Files>
>
> <Files ~ "^\.svn">
>     Order allow,deny
>     Deny from all
>     Satisfy All
> </Files>
>
> --
> D'Arcy J.M. Cain
> System Administrator, Vex.Net
> http://www.Vex.Net/ IM:darcy@xxxxxxx
> VoIP: sip:darcy@xxxxxxx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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