Forum Discussion
John_131301
Nimbostratus
Jan 23, 2019iRule to Allow A Specific URL to Access A Filetype
I would like to create an iRule to allow a specific URL to access a filetype, i.e. log, without allowing other sites using the same security policy to access that filetype. Is that possible?
samstep
Cirrocumulus
Jan 23, 2019This needs clarification - how can a URL access a file type? users access URLs which might end in a file type. I am guessing you probably mean an IP address not a URL?
My understanding of your requirements is the following:
- You have an ASM policy assigned to multiple Virtual Servers (different websites)
- This ASM policy is only allowing access to standard web files (i.e. .html .jpg .css .js) and is not not access to .log files
- As an exception you want to allow one client identified by something (you say URL, but is it a referrer URL, or an IP address?) to bypass the ASM and request a .log file from one of the virtual servers without being blocked by ASM.
- All other clients/users must still be blocked whenever they try to access a .log file type
- You want to use an iRule for this functionality (which is fine you can use ASM::unblock command for example)
Please note that this can be solved with a local traffic policy on the virtual server to save you from the complexity of writing and maintaining an iRule.
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
