The multi-user login allows you to create different profiles for
different users or groups of users. The profiles define the access
rights to different files on the FTP server. The users which are
allowed to access the FTP server are in the user database.
If you want to use multi-user authentication, you must Enable User Authentication in the
Net_Config.c configuration file.
The account defined in the Net_Config.c configuration file is a
system administrator account, which has no restrictions. It
can not be disabled once the authentication has been enabled in the
system configuration. All other accounts are created in a separate
FTP_MultiUser.c module. This file is located in
\Keil\ARM\RL\TCPnet\User folder and need to be copied to the
project folder, customized by the developer and added to the
project.
The following functions are included in this module:
ftp_check_account() -
checks if the user account exists for the provided
credentials.
ftp_file_access() - check if
the access to the file is allowed for a provided user.
The following system functions are included in the RL-TCPnet
library:
ftp_get_user_id() -
retrieves the user identification number for the user, which is
trying to access the file or folder.
Note
If the FTP_MultiUser.c is not added to the project, and
the Authentication is enabled, the FTP server runs in single user
authentication mode.
In RLARM v5.00 and newer, you can disable a system
administrator account, if you define the Authentication Username an ampty
string.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.