53
ENG
c.pCO sistema +0300057EN rel. 1.2 - 29.05.2017
Access to the dierent directories can be restricted, assigning dierent
user lists (see paragraph 9.1).
Important: in the event of errors when copying the authorisation
les and consequently denial of access, the authorisation les can only be
deleted by direct connection to the USB device port.
9.4 HTTP connection with authentication
This paragraph shows how to restrict access to the web interface or
part of it. In the example, a website is created with several pages in “\
HTTP”, administration pages in “\HTTP\admin” and user pages in “\HTTP\
user”. Only “dave” and “ron” can access the administration pages, while
the user pages are only accessible to “bryan”. All three users can see the
common pages in “\HTTP”. The authorisation les shown in the table
need to be created and copied by FTP to the corresponding directories
(see paragraph 9.1):
No. Authorisation le In directory User Password
1 htaccess HTTP dave davepasswd
bryan bryanpasswd
ron ronpasswd
2 htaccess HTTP\admin dave davepasswd
ron ronpasswd
3 htaccess HTTP\user bryan bryanpasswd
Accessing an address of the c.pCO Web Server by using a web browser,
then a pop-up window will be shown prompting for the user name and
password.
Fig. 9.e
If the user name/password are recognised and the user has been
authorised to access the directory, for example “dave”, the web server
grants access to the pages, and these can be displayed by the browser.
Fig. 9.f