How do you give a Windows service specific permissions?

Answer Posted / swapna

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 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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Different kinds of methods?

1619


What do you mean by web service?

613


What is the difference between a class and an object, and how do these terms relate to each other?

570


What is .net environment?

527


Explain the use of activex control in .net?

548






Explain what are an object and a class?

545


What is il in vb.net?

579


which method do you use to redirect the user to another page without performing a round trip to the client? How?

462


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

529


What is .net core used for?

516


What is reflection and what is it for?

556


What is deferred execution vs. Immediate execution in linq?

551


Explain about the features and elements present in Visual studio.NET IDE?

591


How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?

528


What is the single responsibility principle?

543