How to configure a new user on the file system / User rights

FAQ #101052

It is possible to create several users on the file system which can access the FTP server with different rights.

 

Group IDs
On the FTP server there are eight different groups.

User4

0x80
User3

0x40 
User2

0x20 
User1

0x10 
 WEB

0x08
Down-
load
0x04 
CONFIG

0x02
 reserve
PLC
0x01


The parameters of the user defintion are:
username:     is a string including space and any special characters
Password:      is a string including space and any special characters
GroupID:       is a value specifying the user group e.g a file created by this user will belong to that. The value is given as hexadecimal value
AccessGroup: is a value specifying the file system access group(s).A file / directory will be accessible if it belongs to the given. The value is given as a hexadecimal value
AccessType:   Access can be limited to RD_ONLY default is RD_WR (read write)

Examples:

Example of two different users and their access group:

Username=master,haveaccess,0x04,0xFE
0xFE=1111 1110 binary
Access rights:

User4

0x80
User3

0x40 
User2

0x20 
User1

0x10 
 WEB

0x08
Down-
load
0x04 
CONFIG

0x02
 reserve
PLC
0x01
 Yes Yes Yes Yes Yes Yes Yes No


This user has the username: master; Password: haveaccess, he belongs to the group Download 0x04 and he has access to all groups expect reserve / PLC

Username=limited,,0x80,0x80,rd_only
0x80=1000 0000 binary
Access rights:

User4

0x80
User3

0x40 
User2

0x20 
User1

0x10 
 WEB

0x08
Down-
load
0x04 
CONFIG

0x02
 reserve
PLC
0x01
rd_only No No No No No No No


This user has the username: limited;no Password:, he belongs to the group User4 0x80 and he has only access to the group User4 and just read access.

A user should never have acces to the group 0x01 since this is reserved for internal functions and will lead to problems if it is accessed.

Each user belongs to just one group but can have access to several groups. If a user writes a file he is the owner of this file. Another user can only access this file if he has access to the group where the owner of the file belongs.

 

Categories

PCD7 / Rxxx

PCD3 / Rxxx

Last update: 01.06.2015 09:06

First release: 24.10.2008 07:30

Views: 6281

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.

Download