Does Assembly B have permission to "assert any permission that has been
granted"?

--
Ivan Towlson
White Carbon


-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Janis Braslins
Sent: 19 August 2003 14:14
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Setting access permissions for assemblies
compiled at runtime


So, i've tried adding [FileIOPermission(SecurityAction.Assert, Unrestricted
= true)] directive to the source code of assembly B to iallow it file
system access despite the permission of the assembly A.

That results in a slightly different error:
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed

Any way I can get this working?

Thanx!

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to