Forum Discussion
Apr 12, 2011
Can you restrict a file type to a URL in ASM?
Hi,
Is there a way without an iRule to restrict certain file types to certain URLs in ASM v 10.2.0 HF1?
I want to restrict requests for static content such as css, png, jpg, pdf to...
Tom_Spector_50
Apr 12, 2011Historic F5 Account
Another (untested) option is to create wildcard objects for these types and restrict based on the illegal object violation.
Use /images/*.jpg and /images/*.gif and have then have wildcards /*.jpg and /*.gif (ordered after the /images/ ones) so that it disallows all characters causing any other match to fail.
Thanks,
Tom.
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