WebFOCUS Data Security

In this section:

You provide WebFOCUS security on a file-by-file basis. Implementing DBA security features is a straightforward process in which you specify:

The declarations that implement these restriction rules (called security declarations) reside in the Master File that describes the data to WebFOCUS. They tell WebFOCUS that security is needed for the data source and what type of security you want. Each security declaration can consist of one or several of the following attributes:

You can also place security on FOCEXECs and encrypt FOCEXECs, Master Files, and data stored in a native WebFOCUS data source. You can use the WebFOCUS DBA exit routine to let an external security system set the WebFOCUS password. For more information, see Developing a Dynamic DBA Rule.

For a complete description of WebFOCUS DBA security, see the Describing Data With WebFOCUS Language manual.


Top of page

Example: Implementing Data Source Security in a Master File

The following is a Master File that uses security features:

FILENAME = PERS, SUFFIX = FOC,$
SEGMENT = IDSEG, SEGTYPE = S1,$
 FIELD = SSN          ,ALIAS = SSN    ,FORMAT = A9   ,$
 FIELD = FULLNAME     ,ALIAS = FNAME  ,FORMAT = A40  ,$
 FIELD = DIVISION     ,ALIAS = DIV    ,FORMAT = A8   ,$
SEGMENT=COMPSEG, PARENT=IDSEG, SEGTYPE=S1,$
 FIELD = SALARY       ,ALIAS = SAL    ,FORMAT = D8   ,$
 FIELD = DATE         ,ALIAS = DATE   ,FORMAT = YMD  ,$
 FIELD = INCREASE     ,ALIAS = INC    ,FORMAT = D6   ,$
END
DBA=JONES76,$
USER=TOM    ,ACCESS=RW, $
USER=BILL   ,ACCESS=R  ,RESTRICT=SEGMENT   ,NAME=COMPSEG    ,$
USER=JOHN   ,ACCESS=R  ,RESTRICT=FIELD     ,NAME=SALARY     ,$
                                            NAME=INCREASE   ,$
USER=LARRY  ,ACCESS=U  ,RESTRICT=FIELD     ,NAME=SALARY     ,$
USER=TONY   ,ACCESS=R  ,RESTRICT=VALUE     ,NAME=IDSEG,
   VALUE=DIVISION EQ 'WEST' ,$
USER=MARY   ,ACCESS=W  ,RESTRICT=VALUE     ,NAME=SALTEST,
   VALUE=INCREASE+SALARY GE SALARY,$
                                            NAME=HISTTEST,
   VALUE=DIV NE ' ' AND DATE GT 0,$

Top of page

x
Establishing a Non-Overridable User Identity

WebFOCUS provides two types of DBA passwords for establishing user identity in order to determine user access rights.

All security rules established in the DBA sections of existing Master Files are respected when PERMPASS is in effect. The user cannot issue the SET PASS or SET USER command to change to a user password with different security rules.

Only one permanent password can be established in a session. Once it is set, it cannot be changed within the session.

The permanent password can be sent from the WebFOCUS Client to the WebFOCUS Reporting Server with each request. This password can be set using the WebFOCUS Client Administration Console as described in WebFOCUS Administration Console.


WebFOCUS