Solved

Use NTFS permissions to lock down folder

Posted on 2010-08-15
2
514 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 95

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

761 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