Escaping vs Encoding vs Sanitization: What’s the Difference?
The concepts of escaping, encoding and sanitization are central to web development and cyber security. These three can all affect the way that data is represented or manipulated, but each has a different purpose, which can often lead to confusion. The distinction is useful for creating safer websites, for avoiding injection attacks of user input…