The multi-user authentication allows you to create different
profiles for different users or groups of users. The profiles define
the access rights to different resources on the Web server. The users
which are allowed to access the Web server are in the user database.
The multi-user login also allows the Web server to create different
pages depending on user.
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
HTTP_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:
http_check_account() -
checks if the user account exists for the provided
credentials.
http_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:
http_get_user_id() -
retrieves the user identification number for the user, which is
trying to access the resource.
Note
If the HTTP_MultiUser.c is not added to the project, and
the Authentication is enabled, the Web 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 empty
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.