Solved

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

Posted on 2014-12-09
1
168 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
1 Comment
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now