Groups | Blog | Home
all groups > dotnet security > october 2004 >

dotnet security : The application is running in partially trusted context


Nicole Calinoiu
10/13/2004 7:40:24 AM
Nikolay,

The code access security policy on the client machines will need to be
modified in order to grant elevated permissions to your assembly. See
http://groups.google.com/groups?th=7afa061dc99c38ae&seekm=OG8V6OTrEHA.3520%40TK2MSFTNGP11.phx.gbl#link3
for a recent thread on the same topic.

HTH,
Nicole



[quoted text, click to view]

Nicole Calinoiu
10/13/2004 8:10:46 AM
You can't make the policy change from within the application's code since
the application almost certainly won't have permissions to alter the policy.
However, you should be able to avoid manually updating each machine. See
http://msdn.microsoft.com/library/en-us/dnnetsec/html/entsecpoladmin.asp for
recommendations on several techniques for distributing a policy change.

HTH,
Nicole



[quoted text, click to view]

Nikolay Petrov
10/13/2004 2:10:52 PM
When ran from network Windows says "the application is running in partially
trusted context...." and disables some of my app functionality, mostly io
operations
How to enable all functionality in my app, when ran from network? (I am
using VB.NET)

TIA

Nikolay Petrov
10/13/2004 2:55:29 PM
Can this be done from app's code?
I don't wish to go to every machine in our company and change this policy.


[quoted text, click to view]

Nikolay Petrov
10/13/2004 3:26:55 PM
Thanks Nicole


[quoted text, click to view]

AddThis Social Bookmark Button