Can I run a new process from a medium-trust ASP.NET application? -
i'm building asp.net mvc site want use openstv conduct polls. run results through openstv, i'd have run executable. is allowed medium-trust asp.net application?
you can't instantiate system.diagnostics.process
object unless you're running @ fulltrust
.
if examine attributes decorating class you'll see demand fulltrust
:
[permissionsetattribute(securityaction.inheritancedemand, name = "fulltrust")] [hostprotectionattribute(securityaction.linkdemand, sharedstate = true, synchronization = true, externalprocessmgmt = true, selfaffectingprocessmgmt = true)] [permissionsetattribute(securityaction.linkdemand, name = "fulltrust")] public class process : component
Comments
Post a Comment