Forum Discussion
Best practice for Allowed URLs
Hi,
-
What is the best practice to create an Allowed URLs list for a huge website that contains blogs and uses a URL generator. The website contains more than 60,000 page?
-
is it necessary to configure a list of Allowed and NOT-Allowed URLs?
Thanks
1 Reply
- StephanManthey
Nacreous
Hi Majda,
from my perspective it is best practice to use an iRule with a "
" condition.[class match [string tolower [HTTP::path]] starts_with ]The datagroup will be of type string and contains a whitelist (allowed list) of allowed paths in lower-case format as keys (no values required).
You will find tons of working examples here on DC.
The "
" wiki page will be a good start.classPlease avoid using the legacy syntax of "
" or "matchclass
" and datagroups with the "findclass
" prefix!$::With current TMOS versions it should not be a problem to use a datagroup of this size.
I would recommend, to work with a so called external datagroup (stored as a separate file in the TMOS filestore, which can be easily updated).
Thanks, Stephan
PS: Just noticed the "Application Security Manager" (ASM) tag in your post. My response refers to standard "Local Traffic Manager" (LTM) features.
Recent Discussions
Related Content
* 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