#63 Add simple authentication mechanism

Fechado
há 1 ano atrás aberto por shimatta · 1 comentários
Ainda não existe conteúdo.
shimatta comentado há 1 ano atrás
Proprietário

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.
Faça login para participar desta conversação.
Sem Etiqueta
Sem Objetivo
Sem utilizador atribuido
1 Participantes
A carregar...
Cancelar
Guardar
Ainda não existe conteúdo.