![Anybus CompactCom 40 Common Ethernet Design Manual Download Page 25](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756025.webp)
23 (104)
6.3.4
Authorization
Directories can be protected from web access by placing a file called “web_accs.cfg” in the di-
rectory to protect. This file shall contain a list of users that are allowed to access the directory
and its subdirectories.
Optionally, a login message can be specified by including the key [AuthName]. This message
will be displayed by the web browser upon accessing the protected directory.
File Format:
Username1:Password1
Username2:Password2
...
UsernameN:PasswordN
[AuthName]
(message goes here)
The list of approved users can optionally be redirected to one or several other files.
If the list of approved users is put in another file, be aware that this file can be accessed and read
from the network.
In the following example, the list of approved users will be loaded from here.cfg and too.cfg.
[File path]
\i\put\some\over\here.cfg
\i\actually\put\some\of\it\here\too.cfg
[AuthType]
Basic
[AuthName]
Howdy. Password, please.
The field “AuthType” is used to identify the authentication scheme.
Value
Description
Basic
Web authentication method using plaintext passwords.
Digest
More secure method using challenge-response authentication. Used as default if no [Auth-
type] field is specified.
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1