Results 1 to 5 of 5

Thread: NT Users and ASP

  1. #1
    idover
    Guest

    NT Users and ASP

    this may be silly, but oh well, i'm no network guru... i'm hoping there's a way to manage users on an NT server via asp... i would assume that there's some com object that allows this, but i've had little luck in locating anything... i would need the ability to add/delete/modify user info via asp... any help or direction is greatly appreciated, thanks in advance!

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You could write a COM DLL in VB that wraps the API calls you would need to do this for access via ASP. Actually, I think Win2K has an Active Directory COM object that'll do it. Also, make sure you pay close attention to security here.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    idover
    Guest
    thanks for the reply!... that's what i was thinking i would have to do... and as for security... is it possible to make these sort of changes from another machine?... sorry, but my nt admin experience is limited to only iis/sql administration...

  4. #4
    idover
    Guest
    forgot to ask... where can i descriptions of the api calls that i will need to use?... thanks!

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    forgot to ask... where can i descriptions of the api calls that i will need to use?... thanks!
    MSDN has them all. You might want to look at the VB API sites first, though.

    As for security, the API calls would have to be made with a User Account that has the permissions to administer users, usually someone from the domain admins group. It'll be tricky because IIS runs as the Local System account (by default) and impersonates either an anonyous user account or another user, and you have to make sure the method you implement it doesn't allow less priveledged users from escalating their rights and being able to admin the users.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width