Forum Discussion
Adam_409
Jun 05, 2011Nimbostratus
Blocking the URL
Dear Dev Team,
Could you pls help in blocking any
request coming to F5 with this format: http://www.xyz.com.us/portalu/connectOTS
Best Regards,
Adam
- Adam_409NimbostratusDear Dev Team,
- nitassEmployeeit should look like this. anyway, i've not yet tested it.
when HTTP_REQUEST { if {([string tolower [HTTP::host]] equals "www.xyz.com.us") \ and ([string tolower [HTTP::uri]] equals "/portalu/connectots")} { drop } }
- Colin_Walker_12Historic F5 AccountYep, that'd do it. You could also change that to a reject, if you want to notify the client that the connection didn't go through, or you could do an HTTP::respond if you want to get really fancy and send some kind of customized error message.
- JRahmAdminPlease read hoolio's post on URL obfuscation techniques before relying on this as a holistic security practice:
- muzammil_88686NimbostratusDear Steve,
- What_Lies_Bene1CirrostratusSee my response in the correct post: https://devcentral.f5.com/internal-forums/aft/2164949.
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