Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 791
  • Last Modified:

NTML to NTMLv2

Hi,
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.Clear
  Response.Status = "401 Not Authorized"
  Response.AddHeader "WWW-Authenticate", "NTLM"
  Response.End
End If

Server: Windows server 2008 - VMware - IIS 7
Windows Authentication Enabled HTTP 401 Challenge
0
DueFrom
Asked:
DueFrom
1 Solution
 
sammySeltzerCommented:
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.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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.
0
 
DueFromAuthor Commented:
Would like to accept sammyseltzer solution with an A grade.  
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now