dustinmoris / Firewall

ASP.NET Core middleware for IP address filtering.
Apache License 2.0
220 stars 36 forks source link

Possible to block specific methods/controllers? #10

Open improwise opened 3 years ago

improwise commented 3 years ago

Thanks for a nice nuget!

Is it possible to configure it so that it is not on an application leven but more detailed, like having specific IP requirements for a controller/method?

Thanks.

mrapavy commented 3 years ago

+1

dustinmoris commented 3 years ago

This feature is currently not possible but I'm open to suggestions and PRs which could help with that!

What is the workflow that you were hoping for? Configure different restrictions per route from within the middleware or were you hoping for some MVC style attributes on Controller Actions or something entirely different?