Basic permission attribute question: RequestRefuse
From: Keith Patrick (richard_keith_patrick_at_nospam.hotmail.com)
Date: 07/25/03
- Next message: Andrea: "windows authentication"
- Previous message: Chris Houiellebecq: "Re: moving VB NET application to a network folder"
- Next in thread: Eugene V. Bobukh [MS]: "Re: Basic permission attribute question: RequestRefuse"
- Reply: Eugene V. Bobukh [MS]: "Re: Basic permission attribute question: RequestRefuse"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jul 2003 04:31:46 -0500
I have a Windows service that will not run if I have the following line in
my code:
[assembly:FileDialogPermissionAttribute(SecurityAction.RequestRefuse,
Unrestricted = true)]
For some reason, I cannot see why the above code would raise a
SecurityException, as I never use a FileDialog. In fact, this behavior
happens for every permission I try it on. Could someone explain to me why
this is the case? As best I can tell, Unrestricted is a problem, but I'm
just not seeing how, though.
- Next message: Andrea: "windows authentication"
- Previous message: Chris Houiellebecq: "Re: moving VB NET application to a network folder"
- Next in thread: Eugene V. Bobukh [MS]: "Re: Basic permission attribute question: RequestRefuse"
- Reply: Eugene V. Bobukh [MS]: "Re: Basic permission attribute question: RequestRefuse"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|