GAC API Calls with Guest Privileges? -
03-14-2006
, 10:10 AM
I'm using the GAC API in C# to install assemblies into the GAC. The code
works fine, if I'm running with Administrator privileges. But, if I run the
app as Guest, the GAC install fails.
I tried giving the application "Full Trust" in CAS, but the install still
fails when I'm Guest.
Currently I use the WindowsIdentity trick to switch user to an Administrator
service account before calling the GAC API code. This seems to work.
Is there any other way of allowing my code to run without Admin privilages?
Thanks |