Daniel Szpisjak
The Web API Authentication guide, Cookies
Cookies are the de-facto authentication between browser and server. For a good reason, they can provide full-blown session management with low complexity.
Daniel Szpisjak
The Web API Authentication guide, Digest Auth
HTTP Digest Authentication was designed to completely replace Basic Auth. It provides increased security at the cost of significant complexity…
Daniel Szpisjak
The Web API Authentication guide, Basic Auth
HTTP Basic Auth has been with us for ages. Some despise it for its insecurity, while others love it for its simplicity. Should you opt for using it or avoid it at all cost?
Daniel Szpisjak
The Web API Authentication guide, The intro
As a developer, you will most likely get in the situation, where you have to decide how to authenticate your API. How would you deal with it?
Daniel Szpisjak
Data Integrity Primer
Data integrity is rarely talked about, even though it comprises the basis of many data flows a modern web application has to deal with. From a security perspective, integrity deals with protecting data from being modified (by unauthorized parties). There are various techniques to ensure integrity. I will guide you through the options, using real world examples. Once you finish, you will know more about this than most of the industry.
Daniel Szpisjak
About trusting data
“Never trust user input” - say the wise. Sound advice, although it raises more questions than it answers. First of all, what does it mean to trust a piece of data? Why not trust it? Is user input the only piece of data you should be careful with? Can you even trust any data? These are the questions I am exploring in this post. Assumptions When data enters your system, you are likely to have various assumptions about it.