Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to simulate medium trust in VS2010

I am looking for "easy button", where I can say run this app under medium trust.

like image 438
epitka Avatar asked Mar 01 '11 21:03

epitka


1 Answers

Yes,

As per: http://blog.mahingupta.com/mahingupta/blog/post/2010/08/01/AspNet-Set-Medium-trust-in-local.aspx

<system.web>
    <trust level="Medium" />
</system.web>

Just note that most hosts do modifications to their medium trust offerings. Usually give few more permissions for LINQ and cross-server calls, but it differs from one host to another.

like image 135
Meligy Avatar answered Oct 21 '22 07:10

Meligy