Help with A.D. and ASP.Net

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Help with A.D. and ASP.Net

    Hi, I'm trying to validate the user credentials against an Active Directory,
    I've seen some demos around but in the enviroment I'm going to be working on,
    most users have restrictions that prohibit them to logon to certain
    machines/servers, so, my question is, should I have to do something special
    to validate the credentials when the user has these restrictions?

    Once I tried to execute LogonUser API on the server, but it always returned
    false even if the credentials were right because that user didn't have the
    permission to log on to the server, so, In ADSI there would be such problems?
    as this executes on the server.

    Thanks in advance.
    --
    Reas
    Reas Guest

  2. #2

    Default Re: Help with A.D. and ASP.Net

    It is really better from a security standpoint to use LogonUser (or just use
    built-in Windows security in IIS) to do your authentiation. Is it possible
    that you could convince the admins to let normal users logon locally? They
    don't need interactive logon rights (they can have logon batch for
    example).

    Joe K.

    "Reas" <Reas@discussions.microsoft.com> wrote in message
    news:E1EDB140-9C80-49DD-AEFD-65EB23D82058@microsoft.com...
    > Hi, I'm trying to validate the user credentials against an Active
    Directory,
    > I've seen some demos around but in the enviroment I'm going to be working
    on,
    > most users have restrictions that prohibit them to logon to certain
    > machines/servers, so, my question is, should I have to do something
    special
    > to validate the credentials when the user has these restrictions?
    >
    > Once I tried to execute LogonUser API on the server, but it always
    returned
    > false even if the credentials were right because that user didn't have the
    > permission to log on to the server, so, In ADSI there would be such
    problems?
    > as this executes on the server.
    >
    > Thanks in advance.
    > --
    > Reas

    Joe Kaplan \(MVP - ADSI\) Guest

  3. #3

    Default Re: Help with A.D. and ASP.Net

    A. You can use LDAP or ADSI ( Make sure the ASPNET user or your dedicated
    IIS process user has permissions to query the AD ).

    B. I think S4U kerberos can help you a-lot. try looking for it at
    [url]http://msdn.microsoft.com/msdnmag[/url]

    let me know...

    Dan Amiga
    [email]damiga@inter.net.il[/email]
    Ness Technologies
    ..NET Consultant
    Israel


    ----- Original Message -----
    From: "Reas" <Reas@discussions.microsoft.com>
    Newsgroups: microsoft.public.dotnet.framework.aspnet.security
    Sent: Monday, August 23, 2004 3:59 AM
    Subject: Help with A.D. and ASP.Net

    > Hi, I'm trying to validate the user credentials against an Active
    Directory,
    > I've seen some demos around but in the enviroment I'm going to be working
    on,
    > most users have restrictions that prohibit them to logon to certain
    > machines/servers, so, my question is, should I have to do something
    special
    > to validate the credentials when the user has these restrictions?
    >
    > Once I tried to execute LogonUser API on the server, but it always
    returned
    > false even if the credentials were right because that user didn't have the
    > permission to log on to the server, so, In ADSI there would be such
    problems?
    > as this executes on the server.
    >
    > Thanks in advance.
    > --
    > Reas

    Dan Amiga Guest

  4. #4

    Default Re: Help with A.D. and ASP.Net

    In the local security policy, you would add whatever groups or users you
    need to "Log on as a batch job" as opposed to log on as a service or log on
    locally.

    Joe K.

    "Reas" <Reas@discussions.microsoft.com> wrote in message
    news:D9530D21-66AF-4603-A415-5EEC943ED5F9@microsoft.com...
    > Joe,
    > How do I go about creating a logon batch?
    >
    >
    > Regards,
    > Reas
    >
    > "Joe Kaplan (MVP - ADSI)" wrote:
    >
    > > It is really better from a security standpoint to use LogonUser (or just
    use
    > > built-in Windows security in IIS) to do your authentiation. Is it
    possible
    > > that you could convince the admins to let normal users logon locally?
    They
    > > don't need interactive logon rights (they can have logon batch for
    > > example).
    > >
    > > Joe K.
    > >
    > > "Reas" <Reas@discussions.microsoft.com> wrote in message
    > > news:E1EDB140-9C80-49DD-AEFD-65EB23D82058@microsoft.com...
    > > > Hi, I'm trying to validate the user credentials against an Active
    > > Directory,
    > > > I've seen some demos around but in the enviroment I'm going to be
    working
    > > on,
    > > > most users have restrictions that prohibit them to logon to certain
    > > > machines/servers, so, my question is, should I have to do something
    > > special
    > > > to validate the credentials when the user has these restrictions?
    > > >
    > > > Once I tried to execute LogonUser API on the server, but it always
    > > returned
    > > > false even if the credentials were right because that user didn't have
    the
    > > > permission to log on to the server, so, In ADSI there would be such
    > > problems?
    > > > as this executes on the server.
    > > >
    > > > Thanks in advance.
    > > > --
    > > > Reas
    > >
    > >
    > >

    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139