Forum Discussion
Block OWA Users Based on Domain
Hi islam.nadim,
ASM:
Security ›› Application Security ›› Headers ›› Host Names
add host names
Security ›› Application Security ›› Policy Building ›› Learning and Blocking Settings
›› Headers
›› Illegal host name
Enable alarm and block settings
Save Policy
Apply Policy
LTM:
iRule:
when HTTP_REQUEST {
if { [HTTP::host] ne "domain1.com" } {
drop
}
}
Policy:
- islam_nadimOct 15, 2020Cirrus
Hello ,
Thank you for the reply, maybe I haven't cleared exactly what I'm looking to achieve. It is not related to DNS or FQDNs. It is related to logging in to the OWA. So, if a user types <Username>@domain1.com, he can access .. But if he types <Username>@domain2.com, ASM should block such traffic ..
I mean, I want only <Username>@domain1.com to be working, but any other domain to be dropped showing ASM block page.
Hope this clears what I'm looking to achieve.
- Ivan_ChernenkiiOct 29, 2020Employee
Hello,
Do you have any login page in your ASM configuration?
If you deal with logging, then better to configure appropriate login page.
Thanks, Ivan
- islam_nadimNov 19, 2020Cirrus
Thank you Ivan, I will look into this .. But does it validate the values in the field values?
- Ivan_ChernenkiiNov 19, 2020Employee
It won't validate values - it will validate login results... and if your application doesn't allow login for user from @domain2.com, then such requests will be blocked by ASM
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