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

Secure Settings interface against malicious users when exposing BirdNET-Go to internet #301

Open
tphakala opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tphakala
Copy link
Owner

The Settings UI contains some sensitive information, including potential user home locations (geo coordinates) and various tokens such as BirdWeather and OpenWeather. The settings interface should be hidden or secured from Internet users if the BirdNET-Go interface has been exposed to the Internet.

Potential implementation methods could include:

  • Hiding the Settings menu and disabling routes if the client address is outside of the BirdNET-Go system's IP subnet
  • Requiring authentication to access the Settings menu if the client address is outside of the BirdNET-Go system's IP subnet

Alternative methods for detecting Internet-originated requests could include:

  • Checking for the presence of Cloudflare-added HTTP headers (Cloudflare tunnel adds headers to connections coming through the cloudflared tunnel)

Problems with password authentication:

Passwords should be protected against eavesdropping by implementing a TLS-secured connection, but this requires public CA-signed certificates, which could become complex. BirdNET-Go supports Echo framework's auto TLS, but it requires the use of an Internet-registered domain.

@tphakala tphakala added the enhancement New feature or request label Oct 16, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
petterip added a commit to petterip/birdnet-go that referenced this issue Nov 4, 2024
tphakala added a commit that referenced this issue Nov 8, 2024
Implement OAuth2 authentication (for issue #301)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant