[Mono-list] System.Security

Miguel de Icaza miguel@ximian.com
31 Dec 2001 15:36:15 -0500

On Sun, 2001-12-30 at 22:32, Gaurav Vaish wrote:
> Hi,
>     Though I cannot tell how to solve the problem but there seems to be a bug in the system provided. The function does not throw
> NotImplementedException, yet, it always returns a "true"!
>     I am attaching a code where I did the following:
>     * Pass an empty WebPermission instance
>     * Pass a null
>     * Pass a WebPermission instance with permissions as "None", and you get a "true".
>     Either I am testing it wrongly, or there's a bug. I am attaching the code.

Well, the security system will require significant work;  For now
returning "true" seems to be an OK solution until we deploy the full
security system. 

Or is there something that you need that requires a more thorough