Summary
By default, Web Interface prompts users to install the client version listed in the Access Suite Console but still allows them to connect if they do not have the recommended version installed. Security bulletins and environment requirements may require the minimum version to be enforced.
Upon connecting, this change redirects users that do not have the minimum Presentation Server Client version to the page specified in the test.htm file. This does not prevent users from enumerating their applications.
Requirements
• Administrator privileges on the Web Interface server
• Web Interface 4.5 or 4.6
Background
Previous security bulletins have prompted administrators to restrict the minimum Presentation Server Client version run by their Web Interface users.
Procedure
For Web Interface 4.5:
For Web Interface 4.6:
1. Modify the WebInterface.conf file as follows: Locate the line that reads "# IcaClientVersion="
2. Delete the # and add the minimum version number of the Presentation Server Client the user should have installed. For example:
IcaClientVersion=10,150,58643 (use commas instead of periods)
3. Modify the launcher.aspxf file in $SITEROOT\Citrix\AccessPlatform\app_data\site\serverscripts\. Look for the following lines around line 129:
// Indicate to subsequent pages that this launch should be done via the
// RADE client
queryStr += "&" + QSTR_LAUNCH_METHOD + "=" + LAUNCH_METHOD_STREAMING;
} else {
4. Add these lines below the above code:
if (sWizardInfo.getRemoteCanUpgrade()) {
Response.Redirect("test.htm");
Response.End();
}
Note: Add the lines just above the following line:
// This is a launch via a remote (ICA or RDP) client
5. Create a file called test.htm in the $SITEROOT\Citrix\AccessPlatform\site directory with code similar to the following:
<script language="javascript">
window.open("updateclient.htm","_blank");
</script>
6. Create a file called updateclient.htm in the $SITEROOT\Citrix\AccessPlatform\site directory with code similar to the following:
<a href="/Citrix/AccessPlatform/Clients_common/ica32pkg.msi">Please download and install the latest version of the ICA Client to continue</a>
More Information
The Launch.aspxf and WebInterface.conf files are compiled when called therefore there is no need to restart Internet Information Services (IIS).
Additionally, in Web Interface 4.6, users can be redirected to the upgrade page automatically after logging on (and before the applications are enumerated) if their client does not meet the minimum client version requirement. To do so:
1. Modify the include.aspxf file in both the app_data\site\serverscripts and app_data\auth\serverscripts directories.
2. In the include.aspxf file, there is a method called isNextPageWizard()
3. Add the string displayed in bold below:
private bool isNextPageWizard() {
return (sWizardInfo.getNoClientDetected() || sWizardInfo.getRemoteCanUpgrade() )&& !sWizardInfo.getNoClientAvailableForPlatform();