Declarative Security

Discussion in 'ASP .Net Security' started by saleryan, Feb 18, 2006.

  1. saleryan

    saleryan Guest

    Hi,

    I added the security attribute to the class behind my web page:

    <PrincipalPermissionAttribute(SecurityAction.Demand, Name:="TEST")> _
    Public Class EmployeeUI
    .....
    It was working before and only allowing the user TEST to load the page. But
    now no matter who the user is the page is being loaded. Does anyone know why
    declarative security is not working?
    Thanks
     
    saleryan, Feb 18, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MS Newsgroups

    Declarative Security in ASP .net

    MS Newsgroups, Oct 17, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    456
    Natty Gur
    Oct 19, 2003
  2. Alexandre Poitras
    Replies:
    0
    Views:
    484
    Alexandre Poitras
    Oct 28, 2005
  3. marwis1978
    Replies:
    0
    Views:
    366
    marwis1978
    Mar 20, 2007
  4. MS Newsgroups

    Declarative Security in ASP .net

    MS Newsgroups, Oct 17, 2003, in forum: ASP .Net Security
    Replies:
    0
    Views:
    124
    MS Newsgroups
    Oct 17, 2003
  5. Patrick

    Exception Handling declarative security

    Patrick, Apr 23, 2004, in forum: ASP .Net Security
    Replies:
    1
    Views:
    157
    Chris Rolon
    Apr 25, 2004
Loading...

Share This Page