Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network username and Password

Status
Not open for further replies.

tamethetikbalang

Programmer
Joined
Aug 24, 2003
Messages
34
Location
PH
Please help on how to use Network (intranet) username and Password on a login page using asp.
 
more of an explanation is needed.

do you want to force users to logon using their network password or ??

Chris.

Indifference will be the downfall of mankind, but who cares?
 
Yes. I want them to logon using their network username and password.
 
Ok

Open the IIS MMC and RC the site -> Properties -> Directory Security -> Edit... -> uncheck Anonymous Access and uncheck Basic Authentication

the users will now get a Network Password Prompt when they try to access the site.




Chris.

Indifference will be the downfall of mankind, but who cares?
 
Just as a quick note if you dont already know, but to use logins and passwords in a page use.

Request.ServerVariables("LOGON_USER")

Also if your using a SQL Server Database put any login check code into a Stored Procedure as this will stop any SQL Injection as Interanl Users are more of a security threat than external users! If your using Access then you will jsut have to go with it.

All the Best

Lord Exell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top