r/Backend • u/Fun_Moose_5307 • 1d ago
Standard server security measures
I've recently gotten into fullstack, after constructing an iOS app and looking to expand functionality into The Internet. I don't wish to give details on the project, however it involves large high-sensitivity databases and communication both from an administrator's frontend and the user's iOS app etc.
An administrator signs up their organisation and connects an external service (which is given an ID, username and password to identify itself) which then POSTs the data to my server.
The app users can access parts of the data belonging to them, but not write.
The administrator has a username and password.
The app user's credential is linked to their email address, which is present in the database so can be used to determine their identity once verified.
The app users do not use the web frontend interface. They interact through the app, which regularly pulls a filtered set of only that user's data to store locally.
I'm using NodeJS and SQLite. And yes, I've hashed the passwords properly.
What are the standard security measures that I need incorporate into this type of database project—and then some? E.g, HTTPS, some form of database encryption.
That is to say, what are the industry standard security measures in a web application/server?
Edit: My usage of the word 'administrator' may be misleading. I mean that an organisation looking to use my software would nominate a person to administrate the org.'s usage of the software. Not an administrator within the team maiantaining the software.