By default anonymous webacces in dbWatch runs with no rights. If you want
to allow anonymous webusers to access data in dbWatch it is possible to create a dedicated
web user and configure the webserver to act with the privileges of this user when no other user credentials are provided.
Create a user with web access
Create a a new user for this purpose. This user
must have the read on web privilege.
Edit the pages.xml
Locate the webservers config directory.
The webserver config directory is located in the serwers config directory and named during webserver setup.
The dbwatch file structure
Edit the file pages.xml
<?xml version="1.0" encoding="UTF-8"?>
<http_configuration>
<port>8080</port>
<domain>localhost</domain>
<browse>true</browse>
<mount route="dashboard/" template="no.dbwatch.web:web:1"/>
<anonymous token="password:<<insert users password here>>@user:<<insert username here>>@domain:<<insert domain here>>" />
</http_configuration>
Add the anonymous tag if it is missing and fill in the password, username and your domain name.
Restart the server
For the time being a restart is required for these changes to take effect.
Important: This means restarting the control center windows/linux service. For the time being starting and stopping the web functionality in cc wil lremove the anonymous part of the configuration.
Post your comment on this topic.