Contents tagged with IP Filtering
-
Policy based authorization in ASP.NET Core
In my previous article, I explained about restricting users based on the IP Address. It was implemented by using a whitelist of IP Address and middleware. The solution helps authorize users on application level. I also mentioned that, I will write another article to explain about restricting users on a controller level or action level. Policy based authorization is a new feature introduced in Dotnet Core that allows you to implement the application authorization rules in code. In this post, I will explain about Policy based authorization in ASP.NET Core with an implementation example.
-
Restrict IP Address ASP.NET Core Web API
There are several ways to restrict access to a Web server based on the requestor’s IP address. We can do that from IIS or using inbound Firewall rules. But If you want to restrict access to one of the application deployed in the server based on the IP Address then you have to achieve that programmatically. In this post, i will guide you on how to restrict IP address in ASP.NET Core
-
Restrict IP Address in ASP.NET Web API
There are several ways to restrict access to a Web server based on the requestor’s IP address either from IIS or using inbound Firewall rules. But If you want to restrict access to one of the applications deployed in the server based on the IP Address then you have to achieve that programmatically.