IIS permissions and NETWORK user

Hi Experts,

I have an issue on file access permission in my system written on ASP.NET. The application deployed server belongs to windows 2008 domain.

I have assigned the "NETWORK" user in to the local hard disk (the same application server) NTFS permission in order to grant read/write access to the application. I think it's assigned the "NETWORK" user belongs to that particular domain.

And I also know that there will be a local "NETWORK" user too. How do we recognize these two users whether it's belongs to local or to the domain?  What user will be the active users when it's come to the domain environment ? I'm bit confused can you just explain me on this please ?
Shakthi777Asked:
Who is Participating?
 
tanujchandnaConnect With a Mentor Commented:
Hi,

You have to use Network Service instead of Network as its more than safe then Network.

The NETWORK_SERVICE account is a local account on your machine on which you are running you web application. While assigning access to the network share make sure you choose your machine name first and then the account e.g. YOURMACHIN_NAME\NETWORK_SERVICE account. Otherwise you can create a windows domain account for this specific purpose and give it access to the share and run your application under that account.
0
 
Sanjay SantokiConnect With a Mentor Commented:
Hello,

Here I would suggest you to use custom domain user account instead network service for application pool identity.

Thanks,
Sanjay Santoki
0
 
Shakthi777Author Commented:
thanks for the comment Sanjay... but it's it okey to use a standard active directory user for this purpose ? I have read "NETWORK" is low prevailed user and it's the ideal user for these type of file permission settings.

Please advise...
0
 
Sanjay SantokiConnect With a Mentor Commented:
Hi,

You have to use active directory user since you are having website contents of shared location (workstation part of domain). Network service account is limited to particular computer and can't access network share except everyone has full permission on shared folder.

Thanks,
Sanjay Santoki
0
 
Shakthi777Author Commented:
tnx guys !
0
All Courses

From novice to tech pro — start learning today.