# Protecting Your Cookies: HttpOnly

**URL:** <https://discourse.codinghorror.com/t/protecting-your-cookies-httponly/274>\
**Category:** blog\
**Created:** [August 28, 2008, 12:00am UTC](https://discourse.codinghorror.com/t/protecting-your-cookies-httponly/274 "2008-08-28T00:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 62

<div class="post-metadata">

**Author:** ![Cristian](https://discourse.codinghorror.com/letter_avatar_proxy/v2/letter/c/a698b9/32.png) [@Cristian](https://discourse.codinghorror.com/u/Cristian)\
**Post date:** [August 29, 2008, 12:00am UTC](https://discourse.codinghorror.com/t/protecting-your-cookies-httponly/274/62 "2008-08-29T00:00:00Z")

</div>

What I do not understand is why the browser is rendering that invalid HTML block.

Also the web application should validate the input and check if it’s valid HTML/XHTML and uses only the allowed tags and attributes. Moe and others seem to be thinking of the same thing.

---

_[View the full topic](https://discourse.codinghorror.com/t/protecting-your-cookies-httponly/274)._
