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:

process class (msdn)

[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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -