Skip to content

Security

Markus J edited this page May 28, 2021 · 12 revisions

Description

Using an AWS external server within the app so that the connection to an external server cannot be accessed by unauthorised users. We used backend technologies inside MQTT that allow us to set up a login feature onto our MQTT server and also improve things such connection speed and connection stability.

Note: Security was not implemented entirely due to time constraints and conflicts with other parts of the code. The login screen is functioning but there are bugs regarding server selection, therefore it has not been included in the master branch. Instead it is kept on the frontend branch which includes the login screen in the Android app.

Functional Requirements

  • The user should be provided with a login screen to input their login information.
  • The login screen should be part of the online server only.

Non-Functional Requirements

  • The user should receive popup message instantly telling if the login was successful or not.
  • The user should have the characters of their password hidden within 0.5 seconds after typing.
  • The user should be logged in instantly after providing correct login information.

Example

A medical worker starts the app and chooses online server to connect to a car remotely on another department of the hospital and provide the patients with their needed medication. They get prompted to the login screen where they input their login information to assure that only authorised workers get access to the Medcars. On the chance the medical worker enters incorrect login information, they will receive a popup letting them know that they need to re-enter the correct information. Otherwise they would be shown a successful login popup and get prompted to the car selection menu.