How do I manage access restriction for large numbers of customers?

In most instances where access restriction is desired for large numbers of clients, a separate username and password are not required for each client.  For example, a monthly subscription-only publication could assign a unique username and password to each of its readers, but this would be prohibitively inefficient. Instead, the publication could issue a single username and password (i.e. "guest", "mypass"), emailing this username and password to each of their readers.  The password could then be changed and re-emailed periodically (i.e. monthly), as necessary. How do I make my HTML files "aware" of the username when referenced from within a restricted area? To make your HTML files "username-aware", create an SHTML file (i.e. "test.shtml") and place it within your restricted area. Embed the following code into your SHTML document:


You can embed the above code into pre-existing HTML code (remember that the file extension MUST be .shtml), i.e.:

<HTML> <HEAD><TITLE>My Title</TITLE></HEAD> <BODY BGCOLOR=#ffffff> (etc) Your username is:
(etc) </BODY> </HTML>

SHTML files are known to have incompatibility issues with Microsoft FrontPage, and we do not recommend the use of both SHTML and FrontPage together. It is not possible to obtain the password used to login. This is a webserver limitation.