Solved

Use NTFS permissions to lock down folder

Posted on 2010-08-15
2
515 Views
Last Modified: 2012-05-10
Hello

I have a Windows 2003 SP2 server. An application on there writes daily logs to D:\App1\logs.

I would like to lock down the folder so that only one AD group - say Domain\Server1Admins can read the log files. But - at the same time - I don't want to interfere with the application's ability to write these log files.

Does anyone know how I can do this ? Are there any specfic system accounts I need to grant permission to - and what permissions do I need to allow?
0
Comment
Question by:bruce_77
[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
2 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 250 total points
ID: 33441286
You need to grant permission to the account that writes the logs (or the account must be a member of the group).  What account does the program run under?  One way you might tell if you don't know, look at the properties of the log files for the OWNER of the file - that's the account the file is written as.  (That's probably the safest method for determining... you can also look at your list of services to see what account it runs as, assuming it's a service).
0
 
LVL 2

Assisted Solution

by:modru
modru earned 250 total points
ID: 33441435
As long as the application is running under an account of the local server's administrative group, it will still be able to write information to any directory, even if you modify the NTFS permissions of that directory to be read only to everyone except Domain\Server1Admins.

1) Modify the NTFS permissions on the directory to Read Only for Everyone or Domain Users
2) Set the application to Run as a Service
3) The account the application uses to run must be a member of the local server's Administrators group
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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