How to show user a customed access denied page when windows authentication is used.

Discussion in 'ASP .Net' started by zlf, Nov 7, 2007.

  1. zlf

    zlf Guest

    Hello
    my website has role based access, and user without specific role assigned
    cannot access specific page in website.

    When the user try to access a page who has not been granted to access, the
    web site should redirect the user to an access denied page. Instead, now
    they are taken to the splash page to prompt user input username and
    password. How to redirect the user to an access denied page in that case?
    Thanks

    zlf
    zlf, Nov 7, 2007
    #1
    1. Advertising

  2. zlf

    zlf Guest

    And how can we make the entire site "Deny" by default and only allow access
    with explicit authorization of roles?
    Additionally, isn't there an "Access Denied" page to redirect users to?

    Thanks

    "zlf" <> дÈëÏûÏ¢ÐÂÎÅ:...
    > Hello
    > my website has role based access, and user without specific role assigned
    > cannot access specific page in website.
    >
    > When the user try to access a page who has not been granted to access, the
    > web site should redirect the user to an access denied page. Instead, now
    > they are taken to the splash page to prompt user input username and
    > password. How to redirect the user to an access denied page in that case?
    > Thanks
    >
    > zlf
    >
    zlf, Nov 9, 2007
    #2
    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. Daniel Bass
    Replies:
    5
    Views:
    5,477
    shijobaby
    Feb 6, 2010
  2. Daniel Bass
    Replies:
    3
    Views:
    137
  3. Malik Asif Joyia

    How to show a Access Denied Page when User is not in Role?

    Malik Asif Joyia, Jul 5, 2004, in forum: ASP .Net Security
    Replies:
    1
    Views:
    143
    Shaun
    Jul 9, 2004
  4. Oliver
    Replies:
    0
    Views:
    125
    Oliver
    Sep 14, 2004
  5. David
    Replies:
    14
    Views:
    837
    Patrick.O.Ige
    Nov 4, 2005
Loading...

Share This Page