Posted on 2011-10-25
Last Modified: 2012-05-12
Our server is going to go from NTMLv1 to NTMLv2.  In my asp page I have the below code for authentication.  Will this need to be updated with NTML upgrade?

username = Request.ServerVariables("LOGON_USER")

If username = "" then
  Response.Buffer = True
  Response.Status = "401 Not Authorized"
  Response.AddHeader "WWW-Authenticate", "NTLM"
End If

Server: Windows server 2008 - VMware - IIS 7
Windows Authentication Enabled HTTP 401 Challenge
Question by:DueFrom
    LVL 28

    Accepted Solution

    It is still the only way to use it, - the way you are using.

    Your server version handles it based on whether the hash level is ntmlv1 or ntmlv2.

    And if I am not mistaken, NTMlv2 has been around since server 2000.
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    I've requested that this question be closed as follows:

    Accepted answer: 500 points for sammySeltzer's comment http:/Q_27414387.html#37032640

    for the following reason:

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Author Comment

    Would like to accept sammyseltzer solution with an A grade.  

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now