dtuGateway icon indicating copy to clipboard operation
dtuGateway copied to clipboard

user and password for changing settings over the dasboard

Open ohAnd opened this issue 8 months ago • 1 comments

based on #66

... In fact, my requirements are rather specific. This is because I would like to make the dtu gateway accessible externally, not just internally. Hence the password and user name (point 2), at least for the settings, that noboday can change something. ...

ohAnd avatar Mar 30 '25 17:03 ohAnd

@OE9SAU I've splitted #66 to discuss here the further details for this idea...

For this goal there are several ways possible - with a lot of effort or with less or more less ...

ideas:

  1. full refactoring to https and using also encrypted data handling for user config data and so on (a lot of work)
  2. as another idea: with http and user session handling (medium effort)
    • means unsecure transport of user / password
    • and only with that the user config settings will be provided via api and are then changable
    • need session keys, handling of that and further stuff
  3. pragmatic way, if it's fitting to your situation (small effort)
    • blocking/ unblocking the settings view/ edit by a direct serial cmd
    • means change setting and/ or displaying it over web / and providing via API will be disabled
    • assumes the config has not to be changed from remote ...

let's discuss a bit to find the right solution - based on your specific needs and let's start with number 3 ;-)

btw. interestng kind of application for the duGateway

ohAnd avatar Mar 30 '25 17:03 ohAnd

Hi Andreas, number 3 pragmatic way, is still enough for my needs. blocks unauthorized access to advanced settings. Many thanks for implementing. Regards Martin

OE9SAU avatar Jul 08 '25 18:07 OE9SAU

@OE9SAU please check last develop for that feature

ohAnd avatar Jul 10 '25 05:07 ohAnd

Good morning Andreas Protecting the config via serial commands works great and currently meets my needs 100%. Thanks for that. Martin

OE9SAU avatar Jul 14 '25 10:07 OE9SAU