Solved

Validate Users in IIS by using Active Directory Users on a different network

Posted on 2004-08-09
11
259 Views
Last Modified: 2013-12-04
Quick Overview:
  We have two servers.
   - 1 IIS Server With a T1 Line
   - 1 Windows 2000 Active Directory Server on another network with a T1 Line.

These two servers ARE NOT CONNECTED in anyway except for over the internet.

Is there a way so that users can log into IIS using "Basic Authentication" with user accounts that are on the Active Directory Server?  I guess in other words - can user account information be validated over the internet?

Let me know if you need any more information!

Thanks,
Scott
0
Comment
Question by:ScottFcasni
11 Comments
 
LVL 9

Accepted Solution

by:
jdeclue earned 500 total points
ID: 11753114
User account information can be validated over the Internet. But... using Basic Authentication to IIS, is very insecure, and it becomes much worse if you capture that information and forward it to the Domain to validate and have it authorize back. If you attempted to authenticate this way, you would become an extremely easy target.
0
 
LVL 1

Expert Comment

by:hvdhelm
ID: 11753491
Build a VPN between them, that's secure and simpel, after you set up the vpn, you can simply use Basic Authentication like you are in a LAN.
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 11754498
Even in that Scenario the VPN will, essentially encrypt the basic authentication between the web server and domain. But, and it is a big one, the domain, username and password will be sent in clear text between the user and the web server. If you wish to do this, here are the details.

1) First and formost, use SSL between the client and webserver (in order to encrypt the client session).
2) Configure a secure point to point connection between the web server and the Domain. In all cases the IIS server will have to be joined to the Domain.
   a) VPN tunnel between web server and domain.
   b) Point to Point via a Frame, T-1, ISDN etc.
3) The web server will need to have 2 network cards, One connected to the Internet side, and one connected to the connection to the Domain.
4) The web server, must Not be allowed to Route traffic between the interfaces.
5) Configure your security on the Internet side to only allow port 80 and 443 for SSL, when a user connects direct them to port 443 and authenticate them.

Background.

1) User connect over SSL to provide Domain\Username and password, SSL encrypts communications.
2) Web Server, connect through back-end to Domain and authenticates User.
3) If user is present in domain they are authenticated and allowed access.
4) In this configuration you are about as secure as you can be. I would consider this a minimum for your installation.

J
0
 
LVL 4

Expert Comment

by:tenacium
ID: 11756834
You could also setup an AD/AM server on the IIS network.  You'd need to figure out a way to secuely replicate from AD to the ADAM server, maybe using a secure VPN as described above.  But, the auth can take place without travelling across the net in clear text.  

This is one of the reasons Microsoft introduced ADAM.  If they were on the same network, ADAM allows pass-through authentication to AD, but that's not going to work in your environment.  Nor will using IIFP to replicate, which would be ideal.  But, you could export text files from AD and use SSH to secure FTP the files to the ADAM server and import -- all with some fairly simple scripting.

It's not super-easy to set this up, but I think worth consideration.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 22

Expert Comment

by:Paka
ID: 11757584
jdclue is correct.  This is a standard problem with Exchange Front-end/Back-end configurations.  Standard configs for Exchange installs is to setup SSL between client and front-end and use IPSec from front-end to back-end - it works like a charm.
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 11761554
Scott, let us know how you are doing and if you have any questions regarding the above ;)

J
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 11911780
Could you please give us an update as to the question, and/or close it please. Thank You ;)

J
0
 
LVL 9

Expert Comment

by:jdeclue
ID: 13970439
1081791 ... fairly elegant response ;) I believe the response answers the question as asked.

Joel
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now