At this point, you have created the fundamental structures needed for the Security Framework.

To deploy security, you must publish it, just like other Components you deploy:

  1. Create an A5W page for the login Component.
  2. Define a Profile for publishing.
  3. Publish the Component.

Creating an A5W page for the login Component

  1. Open the login Component.
  2. Click the button.
  3. Accept the defaults in the Save Page window.
  4. Save the page with the file name index.
  5. Save the login Component, and close it.
  6. In the file list in the Web Projects Control Panel, right-click on index.a5w.
  7. In the box that appears, choose Page Security, and then Always Allowed.

Defining a Profile for publishing

Remember that you should set up a Profile for each Workspace that you want to publish, including this security Workspace.

  1. In the Web Projects Control Panel, click the button.
  2. In the Web Project Profiles window, click the button.
  3. In the New Publishing Profile window, choose to create a Local profile, and then click Next.
  4. In the next New Publishing Profile window, enter \MobSec for the Application folder and leave the field blank for the Data folder.
  5. Click Next.
  6. In the next New Publishing Profile window, for Default page, enter index.a5w.

Leave the checkbox for Publish data files unchecked and check the box for Publish library Files (although we do not have any Library Files at this point). Then, click Finish.

  1. For the Profile Name, enter MobSec.
  2. In the Profile, enter \MobSec for Target Folder. Always use a subfolder when publishing to your local server.
  3. Accept the rest of the Profile default settings; click OK.

Publishing the login Component

  1. In the Web Projects Control Panel, click the button (an alternative to the Web Security window).
  2. In the Publish Web Project window:
  1. Use the pull-down list to select the profile MobSec.
  2. Accept the rest of the defaults; click the button.

  1. Confirm that you want to publish the Users and Groups Data Files:

We will discuss the topics in this window later in this section.

  1. Examine the files in the Files to be Published window, and click OK.
  2. Confirm the following Notice:

(If the instructor has turned off notifications, you will not see some of these notices.

  1. Acknowledge that publishing is complete: