HOW DO YOU GIVE A WINDOWS SERVICE SPECIFIC PERMISSIONS?

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
C# 
C#
 1949  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    How do you give a Windows service specific permissions?

    Windows service always runs under someone’s identity. Can be System or Administrator account, but if you want to restrict the behavior of a Windows service, the best bet is to create a new user account, assign and deny necessary privileges to that account, and then associate the Windows service with that new account.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!