Setting Firewall Rules for Native Files

You can specify which users can read and write specific files, as well as who can create, delete, rename, or do other operations to the file through the Work with Native AS/400 File Security screen.

To filter activity by native files on which it would operate, select 1. Files from the Native Object Security screen, as shown in Setting Firewall Rules for Native Objects (STRFW > 4).

The Work with Native AS/400 File Security screen appears:

                    ​ Work with Native AS/400 File Security​                      
                                                                               ​
 
Type options, press Enter. ​
                       ​ Library . . .​                
 ​
 1=Select    3=Copy    4=Delete​                  ​ Object  . . .​                
                                                                               ​
 
Opt​
 File        Library   ​  ​ ---------------------- Users ---------------------​ 
    *ALL      ​  *ALL      ​  ​ A*        ​  JAVA      ​  LEVI      ​  QSECOFR   ​  ...
    DISPLAY_JO​  *UNDFN    ​  ​ %EVG      ​            ​            ​            ​     
    AA2       ​  *USRLIBL  ​  ​           ​            ​            ​            ​     
    DEMOPF    ​  *USRLIBL  ​  ​ *PUBLIC   ​  %CLOP     ​  %TEST     ​            ​     
    GSILOGP   ​  *USRLIBL  ​  ​ EVGTST    ​  OO        ​  PP        ​  RR        ​  ...
    TEST0001  ​  *USRLIBL  ​  ​           ​            ​            ​            ​     
    TX*       ​  #DFULIB   ​  ​ %QA       ​  D*        ​  DD*       ​  QPGMR     ​     
    *ALL      ​  ALEX      ​  ​ *PUBLIC   ​            ​            ​            ​     
    A*        ​  ALEX      ​  ​ %TEST1    ​            ​            ​            ​     
    DEMOPF    ​  ALEX      ​  ​ *PUBLIC   ​  %TEST     ​  ALEX3     ​  TEVG      ​     
    PCI*      ​  ALEX      ​  ​ %DDD      ​  %GROUP1   ​  A*        ​  AEQE      ​     
    TEST1     ​  ALEX      ​  ​ %SUPPORT  ​            ​            ​            ​     
    GLPITRN   ​  AP#FIL134 ​  ​ AUREA     ​            ​            ​            ​     
    QRPGLESRC ​  AU        ​  ​ A*        ​  AU        ​  B*        ​  TT        ​  ...
                                                                  ​      More...​ 
 F3=Exit    F6=Add new    F8=Print    F12=Cancel                              ​  
                                                                                
                                                                                

Each line of the list contains the following fields:

File

The name of the file. This can also be a generic name ending in an asterisk ("*") or *ALL, which refer to all the relevant items in the library named in the next field for which more specific settings have not been created.

Library

The name of the library containing the files or files. This can also be a special name beginning with an asterisk ("*") or *ALL, which refers to all the relevant files in all the relevant libraries. For example, the File TEST1 in the Library *ALL refers to any file named TEST1 in any library.

Users

A list of up to four users or groups for which particular authorities have been set. If there are more than four, an ellipsis ("...") appears in a fifth column. Selecting the file by entering 1 in the Opt field displays a screen with the entire list of users.

To create settings for a new file, press the F6 key. The Add Native AS/400 File Security screen appears, as shown in Adding Firewall Rules for Native Files.

To print the information from this screen, press the F8 key.

To modify the settings for a file, enter 1 in the Opt field for the file. The Modify Native AS/400 File Security screen appears, as shown in Modifying Firewall Rules for Native Files.

To copy settings for one file or library to another, enter 3 in the Opt field for the file. The Copy Object Security screen appears, as shown in Copying Firewall Rules for Native Files.

To delete the settings for a file, enter 4 in the Opt field for the file. The Delete Native AS/400 File Security screen appears, as shown in Deleting Firewall Rules for Native Files.