Methods and systems are presented for authenticating web content. A hash value for each node of a first document object model (DOM) tree representing the web content is compared with the corresponding node of a second DOM tree associated with the host; the web content is authenticated when the trees match.