Forum Discussion
LTM 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 ?
4 Replies
- Kevin_Stewart
Employee
Certainly. 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
- SSHSSH_97332
Nimbostratus
What if i want to Authenticate from External server ?
Have you considered turning on auth on what ever the VIP is load balancing? Or look at APM
- Kevin_Stewart
Employee
What if i want to Authenticate from External server ?
in this case, once you've collected the credentials, you'd need to post those somehow to your remote auth service. How you do that depends on what that remote auth service requires. Otherwise, as Andrew suggested, APM would be an excellent choice.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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