Forum Discussion
xbox360_255194
Nimbostratus
Mar 22, 2016Best way to deny access to URL
I have VIP Dallas. This VIP has a pool member of 10.1.1.1. I have another VIP NY. This VIP has pool member 10.2.1.1. VIP NY has 2 uri: NYC and Albany. On server 10.1.1.1, there are 2 links: https://n...
Josiah_39459
Mar 22, 2016Historic F5 Account
Assuming all the links in those applications are prefaced with those uris:
when HTTP_REQUEST {
if { !(([string tolower [HTTP::uri]] starts_with '/nyc') || ([string tolower [HTTP::uri]] starts_with '/albany')) } {
HTTP::respond 403
}
}
Josiah_39459
Mar 22, 2016Historic F5 Account
Yes, ASM is probably the best answer if there is a security concern, and not just a programmatic exercise.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects