gautam_reddyc
asked on
Impersonation in C# Windows Service
Hey,
I neeed to implement authorization and impersonation for my C# windows service..
It is same as doing ASP.NET or do you have a different process..
i tried the below code.. it does not work..
neither does it give error...
It allows every one to access the code..
<authentication mode="Windows"/>
<authorization>
<deny users="*" />
</authorization>
<identity impersonate="true"
userName="domain\user"
password="password" />
ofcourse, i used the relevant domain and user for my application
I neeed to implement authorization and impersonation for my C# windows service..
It is same as doing ASP.NET or do you have a different process..
i tried the below code.. it does not work..
neither does it give error...
It allows every one to access the code..
<authentication mode="Windows"/>
<authorization>
<deny users="*" />
</authorization>
<identity impersonate="true"
userName="domain\user"
password="password" />
ofcourse, i used the relevant domain and user for my application
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you mean a Windows service, or a web service?