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.

Is giving full control for the NETWORK SERVICE user on c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files folder a good idea?

When I deploy my app on the iis, it started complaining about this access issue.

share|improve this question
    
Dunno in v4, but in v2 it's not a big difference, because NS has already read permisions, and the one who's going to create files in that folder is the IIS Asp.Net Account, not Network Service. –  Carlos May 26 '11 at 12:52
    
@carlos NS hasn't have any access on the folder I specified until I have given it. –  tugberk May 26 '11 at 13:05
add comment

1 Answer

The appropriate way is (depending on your issue) to use aspnet_regiis.exe -ga "NT AUTHORITY\NETWORK SERVICE" which "grants the specified user or group access to the IIS metabase and other directories that are used by ASP.NET".

See http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx

share|improve this answer
    
Good answer. thanks. –  Carlos Jan 10 '12 at 10:18
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.