Print Page | Close Window

how to Integrate Windows Authentication w

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=6589
Printed Date: 31 March 2026 at 3:07pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: how to Integrate Windows Authentication w
Posted By: wallykid
Subject: how to Integrate Windows Authentication w
Date Posted: 20 October 2003 at 1:22pm
I like to know if it is possible to integrate windows authetication with ASP. Basically, the Domain Controller will be the repository for all user logon ids and passwords. I have read about the Authentication methods in IIS, that has basic authentication, windows integrated authentication. However, this seems like a website level authentication.

1) There will be a database involved holding sensitive data.
2) I would like to restrict access to only data that belongs to that individual who logged on.
3) I do not want to restrict access to only local network where the domain controller resides. That means they can logon anywhere that has internet access.
4) I also need a way to pass the value of what was being typed in as User ID to the ASP page, so that i can reference in the database what to query

If all i am using is Integrated authentication in IIS5.0, does that mean that anyusers can access anydata in the Database? How can they do that?



any sugguestions will be appreciated.
Thanks




Replies:
Posted By: michael
Date Posted: 20 October 2003 at 1:38pm
If you disable anonymous access for a virtual directory or site the user has to authenticate using the windows credentials. You can verify the user logged in with Windows Authentication using a basic request.servervariables("Logon_User") or you can use ADSI to query the groups he belongs to and use that as the permissions base. I would seperate content that anonymous users have access to.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Mart
Date Posted: 20 October 2003 at 2:01pm

Heres a good example:

http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=6300&lngWId=4 - http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeI d=6300&lngWId=4

but as michael says you have to disable basic authentication or anonymous access i cant remeber wat its called...



Posted By: wallykid
Date Posted: 21 October 2003 at 3:22pm

Thanks for the post. I'll look into that.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net