Last post Apr 13, 2016 06:48 AM by Candice Zhou
Apr 12, 2016 12:23 PM|rudolfss|LINK
I'm creating a web page in Visual Studio 2015 and I need authentication from Active Directory. All information I could find is with Active Directory Federation Services authentication. I couldn't find any info if I can authenticate with only AD from server,
because they don't have ADFS and aren't planning to install it.
Is there a way to do it? There should be, but I couldn't find any info. I'm sorry if this is obvious to someone, but it's the first time I need to create authentication with AD.
Thank you in advance.
Apr 12, 2016 12:32 PM|PatriceSc|LINK
And the site will be hosted on their own server. Then Windows authentication should be enough:
Basically you'll just have :
<anonymousAuthentication enabled="false" />
<windowsAuthentication enabled="true" />
in your web.config file.
Apr 13, 2016 06:48 AM|Candice Zhou|LINK
Welcome to ASP.NET Forums!
If you want to use Forms authentication with Active Directory, you could configure the IIS like below:
1. Click the Directory Security tab, and then click the Edit button in the Anonymous access group.
2. Select the Anonymous access check box and click on Edit button and clear the Allow IIS to control password check box. Because the default anonymous account IUSR_MACHINE does not have permission to access Active Directory, create a new least privileged
account and enter the account details in the Authentication Methods dialog box.
Fore more information, please see: