Page/Directory Protection Tab
Home Up General Tab Functionality Tab Appearance Tab Branding Tab Page/Directory Protection Tab Feedback Tab Directories Tab

 

 

This tab allows you to conditionally control access to pages of your presentation.      BAKER

Basically, this enables you to provide passwords on individual pages, or on complete directories (but note - not subdirectories of those directories!), with passwords being different for different users. Each page or directory you want to protect is given a "key" by navigating to the page and selecting the "Utilities/Define Page Password Key" or "Utilities/Define Directory Password Key" menu item. (To remove a key from a page or directory use Compiler Options dialog, go to the Protection Tab and right-click on the key).

The overall presentation is then given a "Master Key" on this dialog (anything you like, but take care not to change it after you have distributed your presentation - write it down - it is stored in your registry but if you have system problems or change system you may need to re-enter it), and a page in your web is optionally defined that will be displayed if the user enters an invalid password (presumably a page that tells him how to go about getting a valid password).

Then to provide a password for a user depends on whether or not you have checked the "Use Unique Keys from Executing System" check box.

If you have NOT checked that box then when the user requires a Userid/Password,

assign him a Userid (could be his name, or a number, or whatever you want really) and enter it in the User Key box,
select the page you want to provide a password for from the list,
make sure the Master Key is the same as when you distributed the presentation,
Press the "Show" button. The password for that page for that Userid will be displayed in the "Password is - " box, and the userid and password combination will also be copied to the clipboard to make it easy for you to paste it into an e-mail or onto an invoice or similar.

If you HAVE checked that box the difference is that you do not assign the UserId (and the User is not asked for it, only a password). The user supplies you with a system-unique Id, which is algorithmically generated from the User's system (see below) and is unlikely to be the same on another system. You then

enter it in the User Key box,
select the page you want to provide a password for from the list,
make sure the Master Key is the same as when you distributed the presentation,
Press the "Show" button. The password for that page for that Userid will be displayed in the "Password is - " box, and the userid and password combination will also be copied to the clipboard to make it easy for you to paste it into an e-mail or onto an invoice or similar.

To get the system-unique Id you should provide a special link somewhere in your presentation (presumably on the page that explains how to get passwords, payment options etc.) of the form <A HREF=#WCSYSTEMCODE>Press for System Identifer<\A> or similar. Try pressing here (in a compiled copy of these pages, won't work at design time) to see the effect. The user can then read the details from the resulting dialog box.

Alternatively, if you use forms in your presentation (maybe an order form or similar), a Name/Data pair of UniqueSystemIdentifier=???????? will be available. It will be included automatically in any data that is saved to file, or emailed using MAPI or SMTP, and can be used in print replacements to put the System Identifier on a printed order form. Note that the UniqueSystemIdentifier Name/Data pair is only available if the "Use Unique Keys from Executing System"  check box is checked. See "Processing Forms" for more information on this topic.

Take care if you are password protecting multiple pages/directories to use exactly the same UserId each time for the same user. The user's UserId is cached (unless the Don't Cache Passwords checkbox is selected), and he only has to enter the userid and password once for each page/directory and will then always have access to it on that system, even if he exits and re-enters the presentation. But if you give him two passwords associated with two different Userids he will be forever entering the different Userids, as it only caches the last entered Userid for a presentation.

You obviously have to make sure the "Protection Enabled" checkbox is checked, otherwise there is no Protection at all.

If you use Page Protection, make sure you test your presentation with the some sample Userid/Password combinations to make sure it is working the way you think it is/want it to.

If you need to clear cached Userid/Password combinations you can do so by running the compiled presentation and holding down the Ctrl key while exiting using File/Close. You will also lose any favorites associated with the presentation.

Note that everything to do with Page/Directory Protection, except the final generated passwords, is Case Sensitive, so "PassWord" is not the same as "password", "MasterKey" is not the same as "MASTERKEY" for example.