Help please with Role based security not working.

Discussion in 'ASP .Net Security' started by John L. Green, Oct 20, 2003.

  1. Hello All,

    I am trying to use the .Net built in role based security. It is not working.
    The web config has the following;
    <authorization>

    <deny users="?"/>

    <allow roles="DMZ\SLReports, DMZ\Supply-Link" />

    <deny users="*" />

    Users are not being allowed web access unless I add them to an <allow users>
    section.

    Any ideas?

    Thanks
    John L. Green, Oct 20, 2003
    #1
    1. Advertising

  2. John L. Green

    Teemu Keiski Guest

    How have you set up the authentication in IIS and in web.config?

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist

    "John L. Green" <> wrote in message
    news:...
    > Hello All,
    >
    > I am trying to use the .Net built in role based security. It is not

    working.
    > The web config has the following;
    > <authorization>
    >
    > <deny users="?"/>
    >
    > <allow roles="DMZ\SLReports, DMZ\Supply-Link" />
    >
    > <deny users="*" />
    >
    > Users are not being allowed web access unless I add them to an <allow

    users>
    > section.
    >
    > Any ideas?
    >
    > Thanks
    >
    >
    >
    >
    Teemu Keiski, Oct 21, 2003
    #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. Jesper Stocholm
    Replies:
    2
    Views:
    8,070
    John Saunders
    Aug 23, 2003
  2. Liet Kynes
    Replies:
    0
    Views:
    474
    Liet Kynes
    Nov 26, 2003
  3. Boris Condarco

    Custom Role Based Security

    Boris Condarco, Nov 28, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    836
    Tommy
    Nov 28, 2003
  4. Sri Reddy
    Replies:
    3
    Views:
    352
    Jules
    Jun 21, 2006
  5. Kursat
    Replies:
    1
    Views:
    299
    Dominick Baier
    May 7, 2007
Loading...

Share This Page