Re: Why is this method requesting these permissions?
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 22:13:11 +0000 (UTC)
well - i am not sarcastic...
so why don't you grant the specific permissions until it works? I think i made a comment on another post saying that SocketPermission is not included in e.g. medium trust - DNS IIRC is included.
I personally wouldn't fiddle around with RequestMinumum or Optional - just document which permissions are needed - which you can figure out by trial and error (at least thats how I usually approach that problem).
In my book I have a separate chapter on partial trust - maybe thats helpful for you.
http://www.microsoft.com/mspress/books/9989.asp
dominick
Are you being sarcastic or serious about permcalc????
The problem we face is that we have a potential customer who needs to
use our library in a partially trusted environment. AFAIK our code
does not need to touch anything outside it's own code except for the
DNS and UDP capability and we are reducing that to what we truly need.
But our code can, depending on how it is called, need to access lots
of things from the file system to the registry to ...
So I'm trying to figure out what we need to do so this guy can use our
library.
Cubicle Wars - http://www.windwardreports.com/film.htm
"Dominick Baier" wrote:
now you know how good permcalc really works....
by reading all your posts recently on CAS - i wonder what you are
really trying to do...
dominick
.
- Follow-Ups:
- Re: Why is this method requesting these permissions?
- From: David Thielen
- Re: Why is this method requesting these permissions?
- Prev by Date: Re: login control .net 2.0
- Next by Date: Re: Double hop
- Previous by thread: Re: Why is this method requesting these permissions?
- Next by thread: Re: Why is this method requesting these permissions?
- Index(es):
Relevant Pages
|
|