Using Login Control to Authenticate???

M

Mike Voissem

I've been searching for 2 days now, and haven't really been able to get a
complete solution to my problem(s). And let me preface this by stating this
is my first crack at asp.net development so please excuse the ineptness.

My environment is W2003 server, IIS 6.0. This server is in our DMZ and the
web admins want me to use Windows Authentication.(I tried to deploy Forms
Authentication but was shot down by corporate admin's on this). I am trying
to incorporate the login control to authenticate the users vs. the AD windows
login screen(the consensus was that we wanted to provide a login screen that
was "our own").

So, here's what I want to be able to do. Display the login page with the
login control. Allow the users to login, and then authenticate them to AD
through code. If anyone can point me to an article, sample code, book, or
whatever, I would greatly appreciate this. I just haven't been able to find
anything that truly states how this all needs to happen.
1). What all needs to be in web.config.
2). What methods to call from\within the login control
3). How to properly set up IIS

Unfortunately, I'm the lone ranger on this, as nobody in our company has
done web development before.
 
G

Guest

I've been searching for 2 days now, and haven't really been able to get a
complete solution to my problem(s). And let me preface this by stating this
is my first crack at asp.net development so please excuse the ineptness.

My environment is W2003 server, IIS 6.0. This server is in our DMZ and the
web admins want me to use Windows Authentication.(I tried to deploy Forms
Authentication but was shot down by corporate admin's on this). I am trying
to incorporate the login control to authenticate the users vs. the AD windows
login screen(the consensus was that we wanted to provide a login screen that
was "our own").

So, here's what I want to be able to do. Display the login page with the
login control. Allow the users to login, and then authenticate them to AD
through code. If anyone can point me to an article, sample code, book, or
whatever, I would greatly appreciate this. I just haven't been able to find
anything that truly states how this all needs to happen.
1). What all needs to be in web.config.
2). What methods to call from\within the login control
3). How to properly set up IIS

Unfortunately, I'm the lone ranger on this, as nobody in our company has
done web development before.

Mike, do you mean that you would have a separate Active Directory
within the DMZ?

Take a look at this manual
http://msdn2.microsoft.com/en-us/library/aa302386.aspx
 
M

Mike Voissem

Yes, the admins are going to create an Active Directory on the IIS server in
the DMZ, and manage the users for that AD. The requirement then is for the
web app to allow the outside users to get to the "landing page" without the
AD pop-up, and on the "landing page" I would have the login control , and
then I would use their credentials to authenticate to AD.
 
G

Guest

Yes, the admins are going to create an Active Directory on the IIS server in
the DMZ, and manage the users for that AD. The requirement then is for the
web app to allow the outside users to get to the "landing page" without the
AD pop-up, and on the "landing page" I would have the login control , and
then I would use their credentials to authenticate to AD.
--
Mike Voissem
Lead Software Engineer
Donnelley Marketing







- Show quoted text -

Well, then you should consider the form authentication against AD

You can do it using the built-in ActiveDirectoryMembershipProvider:

http://msdn2.microsoft.com/en-us/library/ms998360.aspx
 
M

Mike Voissem

Actually, I had Forms Authentication installed and working, then the admins
"realized" what I meant by Forms Authentication and said NO WAY. So, I had
to change everything over. I lost that battle so I HAVE to get this to
happen, and of course, it's needed yesterday.

Had I been able to user Forms Authentication, this project would be done
already....
 
G

Guest

Actually, I had Forms Authentication installed and working, then the admins
"realized" what I meant by Forms Authentication and said NO WAY. So, I had

Actually, I don't get it. What is the problem there?

I've suggested you a Form Authentication with *Active Directory*
 
M

Mike Voissem

Alexey,
After re-reading this, I now understand what you were suggesting. I have
requested access to the LDAP information and will go from there. Thanx for
your input, this looks like the answer, providing they are okay with giving
me(my application) rights to read the LDAP information.
Regards,
Mike
 
G

Guest

Alexey,
After re-reading this, I now understand what you were suggesting. I have
requested access to the LDAP information and will go from there. Thanx for
your input, this looks like the answer, providing they are okay with giving
me(my application) rights to read the LDAP information.
Regards,
Mike

Great! I do hope your admin will be happy with it :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top