Thursday 28 June 2018

Primary ID and Public ID SQL Databases Node.js

I'm still quite new and I have some questions regarding security. For my api endpoints I dont want to use primary id key for security reasons, yeah or no? If yes then I need to automatically set a public id so the api endpoints like /users/:id will be the public id and not smth like 4 or 9. What type should I use for it thats efficient and doesnt slow down the CRUD operations to my Postgres database. Thanks in advance

Submitted June 28, 2018 at 12:24PM by rizlah5

No comments:

Post a Comment