Skip to content

feat: add basic web authentication to Bjorn web interface#149

Closed
Anatr0p wants to merge 1 commit intoinfinition:mainfrom
Anatr0p:feat/web-auth
Closed

feat: add basic web authentication to Bjorn web interface#149
Anatr0p wants to merge 1 commit intoinfinition:mainfrom
Anatr0p:feat/web-auth

Conversation

@Anatr0p
Copy link

@Anatr0p Anatr0p commented Oct 14, 2025

  • Add HTTP Basic Authentication to web panel endpoints
  • Include authentication configuration options in shared_config.json
  • Protect both GET and POST endpoints with credential checking

⚠️ SECURITY NOTICE: This implementation is NOT intended to be a robust or fully protected authentication solution. It provides only basic protection and has significant limitations:

• Credentials stored in plaintext configuration file • Basic authentication susceptible to interception over unencrypted connections • No brute force protection or rate limiting
• No session management or secure token handling
• Default credentials easily guessable for testing purposes

For production use, consider implementing proper authentication mechanisms such as: • HTTPS with TLS encryption
• JWT tokens or session-based authentication
• Secure credential storage (hashing, external secret management) • Rate limiting and account lockout policies
• Integration with proper identity providers

- Add HTTP Basic Authentication to web panel endpoints
- Include authentication configuration options in shared_config.json
- Protect both GET and POST endpoints with credential checking

⚠️  SECURITY NOTICE: This implementation is NOT intended to be a robust or fully protected authentication solution. It provides only basic protection and has significant limitations:

• Credentials stored in plaintext configuration file
• Basic authentication susceptible to interception over unencrypted connections
• No brute force protection or rate limiting
• No session management or secure token handling
• Default credentials easily guessable for testing purposes

For production use, consider implementing proper authentication mechanisms such as:
• HTTPS with TLS encryption
• JWT tokens or session-based authentication
• Secure credential storage (hashing, external secret management)
• Rate limiting and account lockout policies
• Integration with proper identity providers
@Anatr0p Anatr0p closed this Oct 14, 2025
@Anatr0p
Copy link
Author

Anatr0p commented Oct 14, 2025

Duplicate of similar stuff #75

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant