Ask a Question related to ASP.NET Security, Design and Development.
-
fred #1
running a windows service from asp
I need a asp appli enabled to start/stop a web service
I'm using ServiceController for that, but encounter a
access denied problem when I try to start or stop the
service.
This problem is perfectely normal and well documented.
But I can't solve it.
My asp application ask for Windows authentification, my
account has the rights to control a windows service and I
check the Principal correspond to my account.
I wrote a strongnamed class to make the control, the asp
web page juste instanciate it.
This class is decorated with:
AllowPartiallyTrustedCallersAttribute
[assembly: PermissionSet
(SecurityAction.RequestMinimum,Unrestricted=true)]
in th .net administrator NMC plugin I associate this
assembly with the fulltrustpermission set
I check the right checkbox to tell .net just use this
codegroup.
What can I do more?
Thank you for helping
fred Guest
-
Error running web service
Hi When I try to run my test web service on my local win2k server using syntax; http://localhost/WebServiceTest/Service1.asmx, I get the... -
How to keep Service Running?
Newbie question.. I want my web service to stay resident and never shut down, or at least have a long timeout period before it does. What settings... -
Elevating permissions for Web service running on IIS6/Windows Server 2003
I have a Web service hosted in IIS 6 on Windows Server 2003 that needs to write to the application event log. The default permissions prevent this.... -
running processes from a service
hi everyone i am trying to write a program that runs a process when invoked (a program that reads data from a server and writes the output as XML... -
Web Service always running
Hi, I need to make a web service that perform some functions each 3 seconds, and I need to call a Web Method of this web service from my app. ... -
running a windows service from asp
OK the solution is easier than I thought. It is
impersonation.
I completely misunderstood the difference between
this.User and System.Security.Principal.WindowsIdentity.
So I don't even tried sooner.
I>-----Original Message-----
>I need a asp appli enabled to start/stop a web service
>
>I'm using ServiceController for that, but encounter a
>access denied problem when I try to start or stop the
>service.
>
>This problem is perfectely normal and well documented.
>But I can't solve it.
>
>My asp application ask for Windows authentification, my
>account has the rights to control a windows service and>check the Principal correspond to my account.
>
>I wrote a strongnamed class to make the control, the asp
>web page juste instanciate it.
>This class is decorated with:
>
>AllowPartiallyTrustedCallersAttribute
>[assembly: PermissionSet
>(SecurityAction.RequestMinimum,Unrestricted=tru e)]
>
>in th .net administrator NMC plugin I associate this
>assembly with the fulltrustpermission set
>I check the right checkbox to tell .net just use this
>codegroup.
>
>What can I do more?
>
>Thank you for helping
>
>.
>Guest



Reply With Quote

