Hi all,

I'm try next code


public partial class Default : System.Web.UI.Page
{
        [PrincipalPermission(SecurityAction.Demand, Role = "Editor")]
        public virtual void button1Clicked (object sender, EventArgs args)
        {
                button1.Text = "You clicked me";
        }
}


In windows - .NET 2.0 --> generate "Security Exception" this is OK
In Debian - Mono 2.6.7 --> Not generate exception !!!

any idea

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to