Background

All of the web pages and scripts that TIM Plus serves are protected by a login that is provided by a user when entering their username and password into a pop-up dialog presented by their web browser.

In some situations, it is desirable to suppress this dialog box demanding the username and password. An example might be the deployment of a stand-alone computer displaying a pre-defined wallboard on a large screen; it would become tedious having to log in to the web page every time that computer is restarted.

Different web browsers behave differently when asked to automatically log in to web sites. Variously, they range from complete prohibition of the practise to permitting it only if certain system parameters are configured.

Specifics

In this article, details of how to allow automatic logging-in to a web page concerns the Microsoft Internet Explorer (version 6 and above) browsers only. Please consult your browser documentation for a solution related to your own choice of browser.

The solution involves creating a specially-crafted URL in the following form:

http://username:password@serverhost/

Solution

Although including the username and password in a URL is disabled by default on Windows Internet Explorer since it is considered a security risk, you can override this restriction by making the following changes to the Windows Registry.

Since you'll be exposing a username and password as part of a URL, it is recommended that you create a dedicated web user object inside the TIM Plus directory that will be used solely for this purpose.  See the Web users page for details of how to set up a web user.

Open Windows Registry Editor, REGEDIT.EXE, from the Windows Start Menu and locate the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE

Inside this registry key, add the following DWORD entries:

IEXPLORE.EXE  (Set DWORD value to 0, zero)
EXPLORER.EXE  (Set DWORD value to 0, zero)

Close the Registry Editor and create a bookmark in Internet Explorer, specifying the URL as per the following example:

http://USERNAME:PASSWORD@HOSTNAME/display/?suiv=12345

Replace the following entries:

References

This information is available in more detail at the Microsoft Support site:

http://support.microsoft.com/kb/834489