When you put an image from an other domain in a canvas, the canvas is tainted and some functions like getDataURL or getImageData are disable.
When you try to use such function a SECURITY_ERROR error happen.
Why is this protection in place? What sort of attack used this method?
Thanks!
edited :
I should ask : How can an image coming from an other domain be used in a attack? I can't figure out why browser limit used of canvas after beeing tainted.