|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What User/Security Principal Is Needed to Access Network Via ServI'm building a .NET Windows Service that needs Modify rights on a network
folder. I'm guessing that running as the Network Service (or Local Service) account is the way to go, but simply giving this security principal Modify rights on the folder does not work. Any recommendations? On the remote machine, the network service account will appear as the
machine account, so you'd want to add the domain account for the machine to the ACL. Local service doesn't have network credentials, so that isn't a good choice. Joe K. -- Show quoteHide quoteJoe Kaplan-MS MVP Directory Services Programming Co-author of "The .NET Developer's Guide to Directory Services Programming" http://www.directoryprogramming.net -- "Marc" <M***@discussions.microsoft.com> wrote in message news:6CE583D8-4C02-420F-B134-7E33E8F949C7@microsoft.com... > I'm building a .NET Windows Service that needs Modify rights on a network > folder. I'm guessing that running as the Network Service (or Local > Service) > account is the way to go, but simply giving this security principal Modify > rights on the folder does not work. Any recommendations? Thanks, Joe. That works, but now I've encountered another problem associated
with using NetworkService. I'll post it in a new thread "UnauthorizedAccessException When Retrieving COM Class Factory As NetworkService Account". Show quoteHide quote "Joe Kaplan" wrote: > On the remote machine, the network service account will appear as the > machine account, so you'd want to add the domain account for the machine to > the ACL. Local service doesn't have network credentials, so that isn't a > good choice. > > Joe K. > > -- > Joe Kaplan-MS MVP Directory Services Programming > Co-author of "The .NET Developer's Guide to Directory Services Programming" > http://www.directoryprogramming.net > -- > "Marc" <M***@discussions.microsoft.com> wrote in message > news:6CE583D8-4C02-420F-B134-7E33E8F949C7@microsoft.com... > > I'm building a .NET Windows Service that needs Modify rights on a network > > folder. I'm guessing that running as the Network Service (or Local > > Service) > > account is the way to go, but simply giving this security principal Modify > > rights on the folder does not work. Any recommendations? > > >
Encrypt/Decrypt Username Password using Public Key
How to determine required privileges? ASP.NET Cookie Handling Client certificate error with web services Accessing certificate services with .net security problem with xp_cmdshell what about LDAP? ActiveDirectoryMembershipProvider against non microsoft LDAP caspol -addpset How do we become a trusted publisher so ClickOnce works smoothly? |
|||||||||||||||||||||||