-
-
Notifications
You must be signed in to change notification settings - Fork 41
Avoid to expose settings page #238
Comments
I forgot the smarthome.py modification:
This config was before the latest updates, the new links are missing. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
@DewGew just to avoid to close it too early. |
Hi, I've found a workaround to this: With Sophos UTM Home free, you can use the firewall's reverse proxy - also called WAF - and set protection rules for your web server like "hardening = enabled; entry urls = /oauth, /token, /smarthome" . This prevents anyone from outside accessing the /settings point while you can still reach it from internal by going to http://server-ip-local:3030/settings. The firewall also takes care of managing letsEncrypt certificates for https including auto renewal. You only need a domain (or dyndns) for that. |
Hello @Catfriend1 , thanks for your answer but this solution is not available for rpi and lots of configurations are based on it. |
Is your feature request related to a problem? Please describe.
I don't want to expose unnecessary pages, especially settings one.
Describe the solution you'd like
Only expose the needed pages.
I've modified the auth.py file:
This modification can be inserted with a new option in the configuration file.
I've also modified the nginx configuration:
and for the google link, i'm using:
The text was updated successfully, but these errors were encountered: