Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: NTLM


Message #1 by Pedro Andrade <pandrade@n...> on Tue, 21 Aug 2001 19:26:57 +0100
Hello everyone,



	I'm looking for one way to access to NT 4 user accounts via my ASP

page. Im searching for NTLM, as advice of friend of mine.



	At this moment I didnt found enything, sample code, or whatever.



	I would like to authenticate my intranet users with their NT domain 

username / passwords. But I dont want to use the login box that the IIS

challange response offers.



	Is any windows API that I can use ?



	Any suggestion ?



	Thanks in advance.



	Pedro Andrade



-- 

_____________________________________________

Pedro Andrade



N E T V I T A

Information Systems



Tel: +351.239.700910

Fax: +351.239.700911



http://www.netvita.pt

mailto:pandrade@n...

_____________________________________________

Message #2 by "Luis Abreu" <luisabreu@n...> on Sat, 25 Aug 2001 17:39:12 +0100
Pedro,



don't really if you have had any answer, so I though I could share some

thought about this with you. I have done some experiences with basic

authentication, and one of the things that I was asked to do was something

similar to what you want to do. After searching, I found out that there were

2 ways of not showing the login box to the user:

1. use msxml, so that the xml model handles the communication with the

server for the user (IE does not display log on box)

2. use the url format: http://username@p...:webserveraddress



I think that the 2nd option was the one that got chosen (thought there are

some problems with it- some characters can't be used and you cannot  have a

login/noPass combination). Of course that we used it with https! If you want

more details about this, you could try searching msdn [1]. One place that

has more info about this is this excellent book [2] (watch out for

wrapping).



Hope this helps ( e já agora, boa sorte!)



Regards,

Luis Abreu



[1] http://www.msdn.microsoft.com

[2]

http://www.amazon.com/exec/obidos/ASIN/0735609950/qid=998757376/sr=8-1/104-3

276920-5851928




  Return to Index