| Prev | Next
Menu: Products - Portfolio - Services - Download - Order - Company

 
Topic #1.1.1.1.
Security
   Security Basics  
   Site Map  
   Define User Lists  
   Login Form  
   Categorize Pages  
   Checkpoint Chunk  
   Client side risks  
   Log Out Procedure  
*

  

Browsing >>Categorize Pages: Indicate Security Level (and/or U.I. Style)

W-HTML Developers
Use Page Settings to categorize your pages. In Dreamweaver, add a whpagesettings tag to your page. Here is an example of WebHub classic syntax (now obsolete):

Page Defaults Screen Shot

In this example, the page setting securitylevel" is set to 1 for the PgAccessLevel1 page.

To reference this page setting in W-HTML, use (~pagesetting.securitylevel~).

Delphi Programmers
Save time by using a naming convention for your PageIDs, e.g. PgHomeS1 would be security level 1 and PgChangeMembershipS2 would be security level 2. You would then set a variable based on the pageid. The best place to do that would be in the TwhAppBase.OnExecute event, which is called for every page.

If you use a naming convention like this, you can use a small bit of Pascal to set the variables, and then you don't need to maintain the flags in W-HTML.


 
Path:  www.href.com to; Services to; Tech Talk Archive to; Security to; Categorize Pages

Copyright © 1995-2012 HREF Tools Corp. All Rights Reserved Worldwide.
Running: WebHub-v2.167 compiled with d16_win32 on Microsoft-IIS/7.5,
Local Time: Thu, 24 May 2012 04:58:53.
Session 2092805004, 54 pages sent to CCBot/1.0 (+http://www.commoncrawl.org/bot.html) at 38.107.179.227;
Time to produce this page: 0msec.