Solved

What is the best way to secure log files within a web folder

Posted on 2014-12-09
1
181 Views
Last Modified: 2014-12-15
Hello,

We are building a web application that writes log files to a directory on the web server. We were wondering what the best way to restrict access to the folder so that only the web application can write to it and only sftp can access it to download the logs.

We are currently using a plesk 12 server.

Thanks
0
Comment
Question by:PlumInternet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 500 total points
ID: 40490554
We were wondering what the best way to restrict access to the folder so that only the web application can write to it

Simple way, to restrict access via web, you can create index.php/ index.html file. So it cannot be accessed anymore.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
What You Need to Know when Searching for a Webhost Provider
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question