Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use Active Directory in a "hosted solution"?

Yesterday I got a call from a Microsoft representative asking if we supply "hosted solutions", presumably as part of the big Windows Azure push. As soon as I got off that call, our marketing director came into my office and said the majority of our customers are demanding Active Directory integration in the next version. Then it occurred to me: how does one use Active Directory in a "hosted solution" if the application does not live on the customer's network?

As a more general question about Active Directory integration, what kind of functional changes does that usually imply for an app? Does it mean a user is signed into the app just by authenticating to Active Directory or does it mean the app gets its list of users from Active Directory or does the creation of new users or groups in the app create new users or groups in Active Directory?

Am I just caught in the crossfire of a war of buzzwords?

like image 617
flipdoubt Avatar asked Feb 04 '23 12:02

flipdoubt


2 Answers

You're not. Active Directory can be run across the public Internet, though this complicates the security and setup of the network rather considerably.

Generally, authenticating an app against Active Directory means that your membership provider (for example) would call into Active Directory to do the authentication and, after that, the user is simply logged in; you don't keep active credentials, etc, in your own database. However I would consider it smart to cache that information as well, and be prepared to authenticate against that cache in addition to the directory, in case the domain controller is unavailable for authentication (an especially large risk if you're running the directory across the Internet).

like image 63
TheSmurf Avatar answered Feb 06 '23 01:02

TheSmurf


You can use Active Directory Federated Services to enable authentication using AD over the internet between two organizations. See: http://technet.microsoft.com/en-us/library/cc786469.aspx

I've never used it only read about it. Hope it helps.

like image 40
JoshBerke Avatar answered Feb 06 '23 02:02

JoshBerke