-
Notifications
You must be signed in to change notification settings - Fork 5
Protecting your Server
Tom Longhurst edited this page Jul 21, 2020
·
2 revisions
This is used by me and my team and work, and we didn't want a public-facing server that could expose the inner workings of our system in the test output. We didn't really see the URL getting out into the wider world, but best to be safe rather than sorry. Fortunately, with the wonder that is ASP.NET Core, we can register Authorization middlewares to protect the server from unintended use.
We registered an Azure AD middleware, and thus only company employees in our active directory could view it, and it worked absolutely perfectly. If you weren't authenticated, you were challenged with the azure AD login screen.