Reset password direction requested...

Last post 11-06-2007 3:01 PM by seidensc. 2 replies.

Sort Posts:

  • Reset password direction requested...

    10-31-2007, 11:20 AM
    • Loading...
    • seidensc
    • Joined on 06-28-2007, 9:39 AM
    • Posts 46

    I have inherited an ASP Reset Password application for a help desk.   I have coded a few vb.net console apps to maintain AD accounts but have little experience with ASP programs.

    My task is to provide better authentication while reducing the amount of logins required to reset a user's password.

    The initial page is an asp page that contains HTML with one include asp file reference.   The included file has <%Language=”VBSCRIPT”%> and <%...%>  tags.  Subsequent asp pages have the <%...%>  tags or <SCRIPT Language=”VBSCRIPT” tags. 

    So would this be considered a “classic” VB script forms application? 

    Our admin has removed anonymous access by my request to the folder structure so the lookups are not exposed.  But to reset a password the help desk person must enter their credentials again (because the app is running with the credentials of the Web server I believe). 

    I’m not sure if I should start from scratch with this program and approach it from an ASPNetAdminMembershipProvider perspective –or- simply add admin credentials which includes encryption to a web.config file.  (The application currently does not have a web.config file and there is no VS project for the application.)

    The server environment was recently brought up to Windows Server 2003 and has IIS 6 running on it.  I have VS 2005 at my development workstation.

    What path would you suggest that I take to provide a more streamlined application for resetting passwords?  I have found a couple documents/tutorials on forms authentication; is this the way to go?  Should I start over or stick with the VBSCRIPT path?  I did a search on resetting passwords but was overwhelmed with over 41000 entries. 

    Also, in playing with the app I see that it is using a WinNT provider when binding to AD.   Is this the only option or recommended option when working with AD from an ASP program?  I tried switching to an LDAP provider which I am accustomed to but kept getting object errors.

    Thanks in advance,

    Steve

     

  • Re: Reset password direction requested...

    11-02-2007, 1:17 AM
    Answer

    Hi

    A page with the extension .asp is classic ASP. It's quite different from the ASP.NET application.

    Since ASP.NET and ASP are not fully compatible, if you want to take advantage of ASP.NET application (Code Behind, Higher scalability, Increased performance, Easier configuration and so on), I suggest you uses System.DirectoryServices assembly which provides easy access to Active Directory from managed code. Here is a good example for reference

    http://www.codeproject.com/cs/system/everythingInAD.asp

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Reset password direction requested...

    11-06-2007, 3:01 PM
    • Loading...
    • seidensc
    • Joined on 06-28-2007, 9:39 AM
    • Posts 46

    Thank you for your reply.   This confirms the direction that I have been following.

     Steve

Page 1 of 1 (3 items)
Microsoft Communities
Page view counter