Troy Web ConsultingUser Input, Part 1 - Encoding Proper output encoding ensures that such input is always treated as text in the browser, rather than active content that might get executed