untra / ntlm-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ntlm-example

How to run in IIS

Based on this article: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-7.0&tabs=visual-studio

  1. Go to "Windows turn off/on features" in Control Panel a. Enable .NET 4.8 Frameowrk

Screenshot 2023-04-10 at 1 24 54 PM

b. Enable IIS settings and World Wide Web services underneath IIS (make sure Windows Authentication is checked)

Screenshot 2023-04-10 at 1 27 13 PM

Screenshot 2023-04-10 at 1 28 20 PM

2. Install .net core hosting with Windows https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-7.0
  1. Add your site to IIS a. Publish to IIS: https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?source=recommendations&view=aspnetcore-7.0&tabs=visual-studio b. Make sure Windows Authenticaiton is enabled in your security settings

Screenshot 2023-04-10 at 2 13 01 PM

About


Languages

Language:HTML 47.4%Language:C# 36.5%Language:CSS 13.6%Language:JavaScript 2.4%