Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to debug which user (windows account) is responsible for actually writing a file from my ASP.NET site. When I set the permissions on the folder to everyone, I can write to the directory. When I set the permissions to my account, NETWORK SERVICE, or ASPNET I cannot write to the share. How can I determine what user is writing or trying to write to the share given a file?

The event log doesn't show any details.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can enable object access auditing (via Local Security Policy or GPO) and then configure auditing entries on the Advanced Security settings of the shared folder.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.