Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added token authentication #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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