Windows login in hosted web site


I have the following scenario with a customer. He has a network with an Active directory on a local server and a number of client computers. I am building a business solution that is to be hosted at an external ISP. I would like to do the following is possible:

The user is logged in against the local AD. The web site can access the AD via LDAP. How can I check the visiting users Windows user name from the web site and grant appropriate privileges automatically - without the user having to log in to the site?

If this can't be done - how would you suggest I do this in a way that is convenient for the user.

Best regards
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Svet PaperovIT ManagerCommented:
You will have to work this out with the ISP. It depends on what services it provides.

Your client would have to install a new server with AD LDS role on its perimeter network that would serve as a connection from the Web site to the more secure internal AD DS domain controllers.
RTSolAuthor Commented:

What kind of service should I ask for with the provider?

Bets regards
Svet PaperovIT ManagerCommented:
You should ask them exactly the same question you are asking here: if they can authenticate against an external AD DS/LDS. There are many web servers on the market (IIS, Apache, etc.) and nobody except them can tell which one is implemented and how.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Dave BaldwinFixer of ProblemsCommented:
I am curious why it is being hosted 'externally' when it is only being used 'internally'.  If you put the machine on the internal network, it can restricted to only be accessed internally.
RTSolAuthor Commented:

I am working with a cloud based service that for most of the time will work standalone with forms authentication. I have however had a discussione with one of my potential clients obout the issue in my question. He doesn't want any more servers in his organization and he is even looking at a solution where all his IT is cloud based. If this happens there will be an AD somewhere in the cloud.

As you understand I am not an expert on AD - to say the least. I can program against them using LDAP - thats about it. My aim is to be able to offer a solution which has the possibility of Windows authentication - even with the AD located alsewhere.

If you have any thoughts about this - please share them with me!

Best regards
Svet PaperovIT ManagerCommented:
You can take a look at Windows Azure

And if your client wants to offload everything of IT he could take a look at Windows Private Cloud Solutions

I am not a big fan of the offloading of all IT in the cloud especially for organizations that have most of the their users on the site but I have to acknowledge that it has some advantages if more of the organizational users are mobile or nomadic users (travelling salespersons for example).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RTSolAuthor Commented:
Thanks for the tips - I will have a look at Azure
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.