Forum Discussion
winddlover_9858
Nimbostratus
Oct 12, 2009Firepass logon prompt customization
Hi All,
I am trying to customize Firepass logon page via webdav. I don't want to use index.html as it will break pre-logon check. What I am doing is to edit .inc file and put the requir...
Jared_Townsley_
Nov 06, 2009Historic F5 Account
A pre-logon sequence can contain an "External Logon Page" ending (instead of "Logon Page") that redirects users to an external server with two HTTP POST variables. The two variables are "client_data" and "post_url." The client_data contains encoded results of the pre-logon inspection. The post_url contains the URL that the external logon page must use to POST back to FirePass.
In order to use this feature the external page must do a HTTP POST to FirePass containing client_data, username, password, tzoffsetmin=1, and mrhlogonform=1. As a security precaution, the value of client_data can only be submitted to FirePass once. It is also recommended to check the contents of post_url to make sure you are posting back to a legitimate FirePass.
Here is an example of an External Logon Page written in PHP and HTML:
// verify post_url is valid
if(!preg_match("/^(http[s]?:\/\/)([^\/\<\>]+)\/([^\<\>]*)$/i", $HTTP_POST_VARS["post_url"], $host)) {
echo(htmlentities($HTTP_POST_VARS["post_url"])." is not a valid URL");
exit;
}
// only POST to our firepass
if ($host[2] != "10.10.190.10") {
echo(htmlentities($host[2]). " is not an authorized FirePass host.");
exit;
}
php?>
action="" method="post">
">
Username:
Password:
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
