Hi everyone
We found that the endpoint (
https://dataverse_domain/metrics) is publicly accessible (see screen captures below) and would like to implement measures to restrict unauthorized access.
Some info. about our Dataverse platform installation:
- Dataverse 6.8
- Red Hat Enterprise 9.7
- Payara Glassfish 6.2025.3
We have tried the method below, but the page is still accessible.
- Use Apache's /var/www/html/.htaccess to deny access
<Location "/metrics">
Order deny, allow
Deny from all
</Location>
Modify the Apache configuration file /etc/httpd/conf/httpd.conf
<Directory /var/www/html>
AllowOverride All
</Directory>
Any solutions and advice? Many thanks.
Best regards
Edwin