Skip to content

Limit htpasswd perms #340

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MichaelEischer
Copy link
Member

What does this PR change? What problem does it solve?

When rest-server is started without a htpasswd file, it creates an empty file. Make this file not world readable.

Was the change previously discussed in an issue or on the forum?

Fixes #318

Checklist

  • I have added tests for all code changes.
  • I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

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.

Potential security weakness: .htpasswd is global readable on docker image
1 participant