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 required inforamation in it and uploaded to sandbox folder on Firepass.
All it is working well. The only issue is that I want to customize the logon box
including adjusting font size and put frame outside to make it a bit nice.
However, it seems no option to do it by changing inc file. Could someone advice me if there is another way to do this rather than editing index.htm?
3 Replies
- Jared_Townsley_Historic F5 AccountExternal logon pages can be used in conjunction with pre-logon sequences.
Replacing the index.htm file however is not compatible with pre-logon sequences. - Mike_61719
Cirrus
Posted By Jared Townsley on 10/30/2009 11:03 AM
External logon pages can be used in conjunction with pre-logon sequences.
Replacing the index.htm file however is not compatible with pre-logon sequences.
How does one do this? The F5 tier 2 guys must not know how lol - Jared_Townsley_Historic F5 AccountA 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
