Restricting access to DOM
-
Hi,
I have an HTML template in my report, in that template if I try to access the document object modal, I am able to do that.
<svg onload=alert(document.domain)></svg>
Here I want to restrict access to documents from the template, how can I configure that?
-
This is more of a general html/js question. I am afraid HTML/browsers don't have such a feature.
https://stackoverflow.com/questions/13819926/prevent-javascript-function-to-access-dom