Re: Own Permission and declarative support

From: Doug Bahr (dbahr_at_hotmail.com)
Date: 10/15/03

  • Next message: Roberto Martinez-Brunet: "Re: RSA Encryption/Decryption"
    Date: Wed, 15 Oct 2003 09:33:35 -0400
    
    

    I am trying to use a permission that will NOT cause a stack walk
    and if I understand the CodeAccessSecurity it will cause a stack walk.

    If I understand the MS documentation deriving from IPermission is supported.
    But it seems to be poorly documented because I have seen many questions
    reguarding this same issue on several different news groups. That said,
    I have not seen a solution given.

    "Pieter Philippaerts" <Pieter@nospam.mentalis.org> wrote in message
    news:%23W472rpkDHA.2060@tk2msftngp13.phx.gbl...
    > "Doug Bahr" <dbahr@hotmail.com> wrote in message
    > > and a matching Attribute
    > > public sealed class RightsPermissionAttribute :
    > > System.Security.Permissions.SecurityAttribute
    > > {
    > >
    > > }
    >
    > Have you tried inheriting your class from CodeAccessSecurityAttribute
    > instead of SecurityAttribute?
    >
    > Regards,
    > Pieter Philippaerts
    > Managed SSL/TLS: http://www.mentalis.org/go.php?sl
    >
    >


  • Next message: Roberto Martinez-Brunet: "Re: RSA Encryption/Decryption"