1. Use Authentication

2. Use API gateway

3. Validate inputs

4. Prevent improper entry attempts

They can be,

5. Limit requests (Throttling)

6. Output data