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.

How to give users read on web

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"?>
    <mount route="dashboard/" template="no.dbwatch.web:web:1"/>
    <anonymous token="password:<<insert users password here>>@user:<<insert username here>>@domain:<<insert domain here>>" />

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.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment