troubleshooting Question

How do I secure certain directories, but still allow my application to access them?

Avatar of chaseivey
chaseivey asked on
Apache Web ServerLinux NetworkingLinux Security
10 Comments1 Solution391 ViewsLast Modified:
Hello,

I have a rather extensive web application that uses content from certain directories that I would like to make inaccessible via the web browser.  As of now, for my application to work, I have to grant read,write,execute privileges, but I noticed that I am able to browse directly to very sensitive folders, which I don't want ANYONE to be able to do.  MUCH of our content is downloadable/usable only through subscriptions and if someone is smart, they can currently hack around that. :(

I've poked around on the internet and I keep hearing about chmod and groups.  Honestly, I am new to Linux and I'm not sure how to properly use such features, but I AM willing to listen and learn and give it a shot.

In a nutshell, I want my application to have full direct access to everything, but I want to limit what folders/files my web users can directly browse to and view.

Please let me know if you can help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros