I love to see how internet is a secure place nowadays 😀 Apps and WebApps everywhere that use very reliable REST APIs.
This time I found a perfect example to follow if you want to create a secure API for your application. See the screenshot below:
Generally the aim of APIs is to share some DB infos from server to client…above we can see that this time the developer has been very observing to choose the variable names.
The variable “t” could be…for example…”table“? 😀 And the “f“….mmm…”function“?
Ok ok wait…he definitely check the variable t before using it…
Wow, user table! Don’t you think that the user with role “admin” has a familiar password hash?
MD5 (“admin”) = 21232f297a57a5a743894a0e4a801fc3
Leave a Comment