DEV Community

Discussion on: Should routing go before security?

Collapse
 
myzel394 profile image
Myzel394

I would go with approach 1). You shouldn't tell your enemies your endpoints.
If someone wants to e.g. Check an endpoint for security breaches, so they can hack you, they wouldn't know where to start with approach 1).