Internet or Intranet? For Intranet, turn off anonymous access and let
Windows take over. It is, by far, easier, than coding this. For Internet,
you have a bigger issue, as you normally have a mix of AD users and Internet
users. If this is not the case, go back to the idea of no anon access.
For Internet cases where a portion is user login, you can make a "subweb"
that is no anon access.
Yes, there are ways to programatically solve this, but it is much easier to
make a project that has no anon access and protect the pages you desire in
this project than it is to authenticate forms auth to AD. In addition, you
are more likely to program a security hole than Microsoft, and one can see
the attacks against the MS OSs.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside the box!
*************************************************
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
Hello,
I need to create a login page in my asp.net application. UserId and
password
should be active directory userid and password. How can I do that?
Thanks,
Jim,