Forum Discussion
aalkhuja_160331
Cirrus
May 23, 2016Deny OWA usernames through the ASM
Hi,
My customer asked me to deny some OWA usernames to access their mail through the ASM.
Does any one have any idea how to find that filter.
Thank you
Ammar
Yann_Desmarest
Cirrus
May 24, 2016Hi,
You can use the following irule :
wwhen HTTP_REQUEST {
if { [class match [HTTP::username] $::denied_users] } {
log local0. "User [HTTP::username] has been denied to access virtual server [virtual name]"
HTTP::respond 401 WWW-Authenticate "Basic realm=\"Secured Area\""
}
}
You need first to create a datagroup that contains all denied usernames "denied_users" and then create the above irule and assign it to your Virtual Server
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