Example: Create a page that loads a specific application

Logon.html lets users create their own hyperlinks and specify whatever FH Web Edition options they like. In some cases, you may not want users to have this capability.

Example: You may want to prevent users from opening any application or file on the host computer, and instead provide a page that loads a specific application with a fixed set of options.

When specifying the application, you can use the display name that appears in the FH Web Edition Connection Manager or the fully qualified path to the application.

You can allow users to only run a specific application with specific options.

  1. Open logon.html in a text editor.
  2. Replace all instances of GetVarDecoded("variable") with either an empty string (“”) or the desired value for the parameter.
  3. For the app variable, enter the application’s display name that appears in the FH Web Edition Connection Manager.

    Example:
    var app = "Wordpad";
    var args = "";

    Or, enter the fully qualified path to the application.

    Example:
    var app = "C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe";
    var args = "";

  4. Save the file.
  5. (Optional) Rename the file.

    Example: wordpad.html

    Caution: When using a fully qualified path, any application-specific arguments must be specified using the var args parameter, regardless of whether or not the application was published through the FH Web Edition Connect Manager.

    Note:

    • The plug-in will not run if Microsoft Internet Information Server (IIS) 6.0 is installed on a FH Web Edition server running Windows Server 2008, unless you modify IIS to serve a document with an extension that does not have a registered MIME type on that server. For more information, see Microsoft Knowledge Base article 326965, IIS 6.0 does not serve unknown MIME types, at http://support.microsoft.com/default.aspx?scid=kb;en-us;326965.
    • For FH Web Edition purposes, type .xpi in Extension on Windows systems and .dmg on Mac systems. In MIME Type , type application/octet-stream. Restart the World Wide Web Publishing Service on the Web server after making this change.