Solved

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

Posted on 2014-12-09
1
176 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
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question to locate the problem 18 127
Apache / XAMPP  authorisation 10 62
Widget to get customer remakrs in our website. 3 87
.htaccess css/images no longer loading 4 35
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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 PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

789 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