Skip to content

Conversation

@trivoallan
Copy link

It is now possible to restrict access to the dashboard using a request token by defining the OPCACHE_DASHBOARD_TOKEN environment variable.

@greggles
Copy link

This seems like a great idea to protect the risky features. What do you think about making it "secure by default" so that requests are rejected unless the token is present and an admin can disable the token by setting the value to an empty string? As currently built this requires extra effort to enable the security feature. IMO it should work in reverse where disabling the security requires extra effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants