Forum Discussion
SSHSSH_97332
Nimbostratus
Sep 11, 2014LTM Client Authentication
If i want users accessing VIP to be asked for user/password , Just simple pop up before they access the server
Can i do that with only LTM without APM ?
Kevin_Stewart
Employee
Sep 11, 2014Certainly. At a bare minimum you can do this:
when HTTP_REQUEST {
if { not ( [HTTP::header exists Authorization] ) } {
HTTP::respond 401 WWW-Authenticate "Basic realm=\Secured Area\""
}
}
This will display a Basic authentication dialog on first request. If you then want to actually validate what the user enters, then take a look at this post:
https://devcentral.f5.com/articles/http-basic-access-authentication-irule-style
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