Forms Authentication based on roles.

Discussion in 'ASP .Net Security' started by Luis Esteban Valencia Muñoz perrohijueputa@hotmail, Aug 9, 2004.

  1. HI,
    I have the following problem.
    I am making a portal of DJs. The djs must have a Menu, the administrator
    another menu. I created 2 directories one for djs and one for
    administrators. I want the pages of those subdirectories to be protected
    The users table have a field called roles and the format of the fied is
    "Administrators,Users,Djs".

    One user can be administrator and dj at one.

    Anyway the problem is how can I give forms authentication and depending on
    roles show a link to the corresponding menu. In that menu I must put some
    protection because maybe somebody tries to surf to that menu withouth login
    in


    DId u understand ??




    --
    LUIS ESTEBAN VALENCIA MUÑOZ
    MIEMBRO ACTIVO DE WWW.ALIANZADEV.NET
    Luis Esteban Valencia Muñoz perrohijueputa@hotmail, Aug 9, 2004
    #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. Sharat Koya

    NT based roles using forms authentication

    Sharat Koya, Aug 13, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,163
    Scott Allen
    Aug 13, 2004
  2. Joey
    Replies:
    2
    Views:
    381
  3. Keltex
    Replies:
    1
    Views:
    388
    Dominick Baier [DevelopMentor]
    Jan 24, 2006
  4. Eric
    Replies:
    2
    Views:
    466
  5. Eric
    Replies:
    0
    Views:
    185
Loading...

Share This Page