Forum Discussion
alchancco
Jul 08, 2022Nimbostratus
irule to replace Realm value for http response header WWW-Authenticate: Basic realm="IP address"
To mitigate against internal IP address disclosure in Basic Authentication Header, i'd like to change the IP address to some other value. I tried changing "Basic Auth Realm" in http profile but it o...
Hi alchancco,
Can you change the http event and try?
when HTTP_RESPONSE_RELEASE {
if { [HTTP::header WWW-Authenticate] starts_with "Basic" }{
HTTP::header replace WWW-Authenticate "Basic realm='mydomain.com'"
}
}
alchancco
Jul 21, 2022Nimbostratus
HI Enes_Afsin_AI,
I made the change but as before it only changes the header value sporadically.
- alfredo
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