ASP.Net Security login question

Discussion in 'ASP .Net Security' started by Edward J. Stembler, Sep 18, 2003.

  1. I have an ASP.Net web form with a DataGrid on it... I
    want to programatcally display a Delete link column if
    the local NT user is a member of the "BUILTIN\Managers"
    group. What is the standard accepted way of doing this?

    I'm trying to NT integrated and I've played around with
    the web.Config (allow users, impersonation etc.) file
    exhaustively and I cannot seem to get it perfect. For
    instance, at one point the NT login dialog kept popping
    up 3 or 4 times. Should I just make them log into my
    app, or is there a way to achive what I'm trying to do?
     
    Edward J. Stembler, Sep 18, 2003
    #1
    1. Advertising

  2. Yes I know. I already use it. Was just trying to find
    out what the standard procedure is... when I tried using
    integrated NT security, a login dialog box kept popping
    up several times. My goal is to scrutinize or use
    integrated security without having the login box pop up
    several times.

    >-----Original Message-----
    >WindowsPrincipal.IsInRole(...) method can do your group
    >membership check.
    >
    >>-----Original Message-----
    >>I have an ASP.Net web form with a DataGrid on it... I
    >>want to programatcally display a Delete link column if
    >>the local NT user is a member of the "BUILTIN\Managers"
    >>group. What is the standard accepted way of doing this?
    >>
    >>I'm trying to NT integrated and I've played around with
    >>the web.Config (allow users, impersonation etc.) file
    >>exhaustively and I cannot seem to get it perfect. For
    >>instance, at one point the NT login dialog kept popping
    >>up 3 or 4 times. Should I just make them log into my
    >>app, or is there a way to achive what I'm trying to do?
    >>.
    >>

    >.
    >
     
    Edward J. Stembler, Sep 25, 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. Steve C. Orr [MVP, MCSD]

    Login security in ASP.net

    Steve C. Orr [MVP, MCSD], Jun 2, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    459
    Pravin A. Sable
    Jun 3, 2004
  2. frekster
    Replies:
    1
    Views:
    981
    frekster
    Sep 14, 2005
  3. Sasquatch
    Replies:
    2
    Views:
    507
    Sasquatch
    Oct 4, 2006
  4. Steve Kershaw
    Replies:
    2
    Views:
    504
    Steve Kershaw
    Nov 15, 2006
  5. Dinis Cruz

    Asp.Net Security Analyser (new security tool by DDPlus)

    Dinis Cruz, Oct 8, 2003, in forum: ASP .Net Security
    Replies:
    2
    Views:
    175
    Dinis Cruz
    Oct 11, 2003
Loading...

Share This Page