We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the operator of a web application, I would like to restrict access to a known set of IP addresses so that unauthorized access is blocked.
Example
var content = Layout.Create(...); var response = Content.From(Resource.FromString("Don't you dare")); var access = Access.Create() .Rule(AccessRule.BlockIP("91.8.20.0", response)) .Rule(AccessRule.BlockIPs(...)) .Rule(AccessRule.AllowIP(...)); content.Add(access);
Acceptance criteria
AccessDenied
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As the operator of a web application, I would like to restrict access to a known set of IP addresses so that unauthorized access is blocked.
Example
Acceptance criteria
AccessDenied
status code if the request is blockedThe text was updated successfully, but these errors were encountered: