Tag Archives: RemoteIpAddress

Implementing a Client White-list using ASP.NET Core Middleware

This article shows how a client safe-list could be implemented using ASP.NET Core middleware checking the Remote IP address of the request. If the client IP is on the safe-list, no restrictions exist. Code: https://github.com/damienbod/ClientIpAspNetCoreIIS History 2018-08-30 Updated to .NET core 2.1 and added support for IP6 The middleware uses an admin white-list parameter from […]