The text of a manual · part 26 of 45
Enhanced and Ethernet PLC-5 Programmable Controllers User Manual: Chapter 12 - Protecting Your Programs
Pages 213 to 218 of 388, from Enhanced and Ethernet PLC-5 Programmable Controllers User Manual
The original document is the PDF (5.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1785-L20B and Allen-Bradley 1785-L40B
Page 213
Chapter
12
Protecting Your Programs
Using This Chapter For Information About
Go to Page
Passwords and privileges
12-2
Defining privilege classes
12-3
Assigning a privilege class to a channel or offline file
12-4
Assigning a privilege class to a node
12-4
Assigning read/write privileges to a program file
12-5
Assigning read/write privileges to a data file
12-5
Using protected controllers
12-6
Read this chapter for an overview of: • defining privilege classes • assigning a privilege class to a channel or offline file • assigning a privilege class to a node • assigning read/write privileges to a program file • assigning read/write privileges to a data file IMPORTANT
To use these options, select the full passwords and privileges feature when you install the software.
For detailed information about configuring privileges, see the documentation for your programming software. If your application requires privileges beyond those provided by the enhanced or Ethernet PLC-5 controllers, see the PLC-5 Protected Controller Product Data for 1785-5/26, -5/46, and -5/86 controllers, publication 1785-2.28.
1
Publication 1785-UM012D-EN-P - July 2005
Page 214
12-2
Protecting Your Programs
About Passwords and Privileges
The passwords and privileges function supported by enhanced and Ethernet PLC-5 controllers helps you protect your programs by restricting access to controller files and functions. You can assign a privilege class to a node, channel or file. The privilege class defines the level of access (read or write) or type of function (I/O forcing, memory clearing) the PLC-5 controller allows. This Privilege
Restricts Access
Node from a particular node to the controller.
Channel to a particular channel on the controller.
File to view or change a file.
Node privileges override the default privilege class of the channel.
IMPORTANT
Privileges Supported by Enhanced and Ethernet PLC-5 Controllers
Node Privileges
Node A
Node B
Node C
Node D
Class 1 privileges
Class 2 privileges
Class 3 privileges
Class 4 privileges
Classes assigned to nodes DH+
Classes assigned to channels
0
1A
1B
2A
2B
1
1
1
1
1
2
2
2
2
2
3
3
3
3
3
4
4
4 Program
4
4
Channel Privileges
Data
File Privileges (program and data)
In , the class privileges assigned to each node govern the access the device has to the controller. For example: • Node B has Class 2 access to channel 1A, based on the node privilege the controller has assigned it
Publication 1785-UM012D-EN-P - July 2005
Page 215
Protecting Your Programs
12-3
• Node C has Class 3 access to channel 2A, based on the node privilege the controller has assigned it IMPORTANT
If node privileges had not been assigned in this example, the node would have had the same privilege class as that assigned to its channel.
Follow these guidelines when using the passwords and privileges: • You must define the passwords and privileges information for each controller in your system. • You cannot assign default class privileges to channels configured as scanner or adapter. The read/write privileges you see on the channel privileges screen apply to read/write access of the channel configuration screen of that channel. The read/write privileges for each channel’s diagnostic file (channel status screen) must be set up through the data table privileges screen. The default privilege fields on the channel privileges screen determine the privilege class of all stations/nodes that are attached through that channel. • Tell all of the users of your software which privilege class they can use and the appropriate password. If they want to change to a different class (other than the one for which the personal computer is configured), they must enter the new class and password. • The passwords and privileges feature helps prevent unauthorized or accidental changes to the system. However, the passwords and privileges feature has limitations; it will not prevent acts of malicious tampering nor can it ensure that changes made by an individual with the password will be appropriate for a particular application.
Defining Privilege Classes
You can define four privilege classes (class 1-4), each with its own password. Within each class, you then can assign access to certain operations in the software (such as modifying program or data files, or channel configurations). These privilege classes are the upper level organization for your password structure. You can define Class 1 to have all privileges, equivalent to a system manager. Then, define the remaining three classes to have fewer privileges.
Publication 1785-UM012D-EN-P - July 2005
Page 216
12-4
Protecting Your Programs
For example, set your privilege classes as follows on the channel privileges screen of your programming software (an X indicates that the privilege is enabled): Privileges \ Privilege Class Names Modify Privileges Data Table File Create/Delete Program File Create/Delete Logical Write Physical Write Logical Read Physical Read Mode Change I/O Force SFC Force Clear Memory Restore On-line Editing Modify passwords
Assigning a Privilege Class to a Channel or Offline File
Class1 X X X X X X X X X X X X X X
Class2
Class3
Class4
X X X X X X X X X
X X X X X X X
X X X X X
You can assign a privilege class to all channels (except remote I/O scanner or adapter channels) and offline files. Each channel and offline file has a Class 1 privilege by default. The read/write privileges you see on the channel privileges screen apply to read/write access to the channel configuration screen of that channel. The read/write privileges for each channel’s diagnostic file (channel status screen) must be set up through the data table privileges screen. The default privilege fields on the channel privileges screen determine the privilege class of all stations/nodes that are attached through that channel. IMPORTANT
Assigning a Privilege Class to a Node
All stations/nodes default to the same privilege class as that of the channel they communicate through. You can give a node its own privilege class if you want it to have a class different from the default privilege assigned to that channel. IMPORTANT
Publication 1785-UM012D-EN-P - July 2005
You cannot assign default class privileges to scanner or adapter channels.
Node privileges override the default privilege class of the channel assigned on the channel privileges screen.
Page 217
Protecting Your Programs
12-5
You can assign read and write privileges for each program file in a controller. Assigning Read/Write These privileges limit the access of users to view or change your program files. Privileges to a Program File Two privileges determine whether a user can read or write to a program file: • the users’ privilege class • whether read and write privileges have been assigned to the program file itself
Assigning Read/Write Privileges to a Data File
You can assign read and write privileges for each data file in a controller. These privileges limit the access of users to view or change data file values. Two privileges determine whether a user can read or write to a data file: • the users’ privilege class • whether read and write privileges have been assigned to the data file itself IMPORTANT
Removing both the read and write access from a data table file prevents you from accessing that file.
Publication 1785-UM012D-EN-P - July 2005
Page 218
12-6
Protecting Your Programs
Notes
Publication 1785-UM012D-EN-P - July 2005