Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how to Integrate Windows Authentication w
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to Integrate Windows Authentication w

 Post Reply Post Reply
Author
wallykid View Drop Down
Newbie
Newbie


Joined: 20 October 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote wallykid Quote  Post ReplyReply Direct Link To This Post Topic: how to Integrate Windows Authentication w
    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

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2003 at 2:01pm

Heres a good example:

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...

Back to Top
wallykid View Drop Down
Newbie
Newbie


Joined: 20 October 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote wallykid Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 3:22pm

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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.