Re: How to restrict Directory access in httpd

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

 




> Date: Friday, December 09, 2016 05:58:31 +0000
> From: Ishan Thakur <ishanthakur41@xxxxxxxx.INVALID>
>    
> Hi , 
>     I am running apache(2.2.29) static libraries into my
> application . I want to restrict access to particular directories
> from where my application is running. So for example: My
> application is  at D:\new_user\<application directories>  and i
> have some private files at D:\private_fileThen user if provides
> path like ../../private_file via web interface to my web-app , then
> he is able to access this "private_file" in my server. How can I
> restrict it ?? How to restict in a way only
> D:\new_user\<application directories>\* is accessible to
> web-interface?
> 
> Thanks ,Ishan
> 

It sounds like you have your "DocumentRoot" set to "D:", rather than
a lower directory level. However, without seeing your configuration
that's only a guess.



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