Custom HttpHandlers and Declarative Security

Discussion in 'ASP .Net Security' started by Chris Stev, Sep 15, 2004.

  1. Chris Stev

    Chris Stev Guest

    Hello All,

    I am using maverick.net (a framework based around a custom httphandler
    in ASP.NET) and I'm trying to integrate declarative security into this.
    When I put my custom implementation of the IPrincipal into the
    HttpContext.User object the declarative security always fails (it never
    checks the User object even though it is definately set). However if I
    put it into Thread.CurrentPrincipal object it all works ok. This is on
    win2003 server.

    However on my test machine (running xp prof, not great I know) It
    doesn't check any of the objects, the declarative security always fails.
    Does anyone know why this might be? Are there big differences between
    the security models on win2k/xp versions of the framework and win2003?

    Thanks,

    Chris
     
    Chris Stev, Sep 15, 2004
    #1
    1. Advertisements

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:
    554
    Natty Gur
    Oct 19, 2003
  2. matt

    HttpHandlers and HTTPModules

    matt, Apr 19, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    2,677
  3. Alexandre Poitras
    Replies:
    0
    Views:
    564
    Alexandre Poitras
    Oct 28, 2005
  4. marwis1978
    Replies:
    0
    Views:
    483
    marwis1978
    Mar 20, 2007
  5. Doug Bahr

    Custom Permission and Declarative support

    Doug Bahr, Oct 9, 2003, in forum: ASP .Net Security
    Replies:
    0
    Views:
    192
    Doug Bahr
    Oct 9, 2003
  6. MS Newsgroups

    Declarative Security in ASP .net

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

    Exception Handling declarative security

    Patrick, Apr 23, 2004, in forum: ASP .Net Security
    Replies:
    1
    Views:
    252
    Chris Rolon
    Apr 25, 2004
  8. saleryan

    Declarative Security

    saleryan, Feb 18, 2006, in forum: ASP .Net Security
    Replies:
    0
    Views:
    168
    saleryan
    Feb 18, 2006
Loading...