This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP Demo: Multiple Users / Passwords for web login

Hi,

We have recently implemented user accounts on an industrial controller which has been developed with an ARM9 under RL-ARM. User accounts (username/password) can be added, amended or deleted from the front panel menu of our controller.

We have also been developing a web-site configuration page for our controller based on Keil’s RL-ARM http demo. We now wish to tie in the usernames/passwords from our controller to the web page login access of the http demo.

As we do not have access to Keil’s web server code the only visible interface to the one available level of security is via the two variables in Net_Lib.c

U8  const http_auth_user[]  = HTTP_AUTHUSER;
U8  http_auth_passw[20] = HTTP_AUTHPASSW;

Of course we can define one user and associated password via these variables, but how can we define a range of usernames/passwords that is intelligible to the web server? At present we see no way of doing this without full access to the web server code that underpins the http_demo example.

Has anybody else worked out a way to implement a range of usernames/passwords based on the http demo?

Thank you for any suggestions and assistance that you may have.

Regards

John