Elson TC
Jul 22, 2023

The routes should be the protection for the servers and data.

To add, Seniors would recommend:

- HTTPS only connections
- validate the inputs. ALWAYS
- enforce strong passwords
- use CORS if your API is to be used internally only
- fail faaaaast. Show correct HTTP code
- expire sessions and tokens.
- limit the amount of request for a given period per ACCOUNT - rate limit

- reduce third-party dependencies as much as possible and stick to reputable ones.
- test your error handling. Bad error handling can crash or slow down your servers

- log and monitor
- auto scale to handle more traffic


When unsure or inexperienced, dont handle it yourself. Use SaaS solutions known for their strong security measurements.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Elson TC
Elson TC

Written by Elson TC

Software Engineer sharing knowledge, experience, and perspective from an employee and personal point of view.

Responses (1)

Write a response