#63 Add simple authentication mechanism

Stängd
öppnade 1 år sedan av shimatta · 1 kommentarer
shimatta kommenterad 1 år sedan
Det finns inget innehåll än.
shimatta kommenterad 1 år sedan
Ägare

Considerations:

  • compile time enabled login/logout commands
  • option to overwrite the login command to e.g. do a challenge response kind of thing
  • The login command asks for username/password - password input without echo
  • Access control added to each command (user ID or minimum user role)
  • as an alternative implement an access mapping to map each command by pointer to a valid user id
  • Add possibility for custom password validation method
  • Add basic default password validation
  • Make usernames/passwords changeable during runtime
  • Only show and autocomplete commands if authenticated to use these commands
  • flush the history buffer on logout
  • [-] Consider adding a certificate based login
  • Add callback function to log logins
  • Find auth structure when adding a command
  • Superuser - users can be made superusers who can access all commands without the need for a permission matrix.
Considerations: - [x] compile time enabled login/logout commands - [x] option to overwrite the login command to e.g. do a challenge response kind of thing - [x] The login command asks for username/password - password input without echo - [x] Access control added to each command (user ID or minimum user role) - [x] as an alternative implement an access mapping to map each command by pointer to a valid user id - [x] Add possibility for custom password validation method - [x] Add basic default password validation - [x] Make usernames/passwords changeable during runtime - [x] Only show and autocomplete commands if authenticated to use these commands - [x] flush the history buffer on logout - [-] Consider adding a certificate based login - [x] Add callback function to log logins - [x] Find auth structure when adding a command - [x] Superuser - users can be made superusers who can access all commands without the need for a permission matrix.
shimatta återöppnade 1 år sedan
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.