How to restrict Directory access in httpd

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

 






----- Forwarded Message -----
From: Ishan Thakur <ishanthakur41@xxxxxxxx>
To: Httpd <dev@xxxxxxxxxxxxxxxx>
Sent: Friday, 9 December 2016 11:24 AM
Subject: How to restrict Directory access in httpd

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



[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