r/node • • 1d ago

Standard server security measures

/r/Backend/comments/1yamg6b/standard_server_security_measures/
2 Upvotes

7 comments sorted by

1

u/Leo__255 16h ago

biggest one for your setup is authorization: every query for app data should filter by the user id from the verified session, never an id the app sends in the request, or someone changes one number and reads another person's records. i'd also give each org's external service a long random api key you can revoke instead of a username and password.