[Javascript] Resizing images client-side
Hassan Schroeder
hassan at webtuitive.com
Sat Jul 14 10:35:26 CDT 2007
Troy III Ajnej wrote:
> Are you sure about this?
pretty sure :-)
> what security model and why "wisely", -what's so wise about that?
To prevent something, like, say:
var evil = document.createElement("object");
evil.type = "text/plain";
evil.codebase = "/";
evil.data = "/etc/passwd";
$('hiddenholder').appendChild(evil);
Or so I'd imagine :-)
But as I said before -- working code trumps theory.
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
More information about the Javascript
mailing list