3 ms·
A big ad network is fine in theory, just stop using foreign javascript. Or any javascript.
by Dylan16807 11y ago
A big ad network is fine in theory, just stop using foreign javascript. Or any javascript.
- mschuster91 11y agoThe first iphone jailbreaks went via PNG/JPEG/PDF parser exploits. Disabling javascript does not protect you against a sufficiently malicious enterprise - and I'd label both the three-letter-agencies and the ex-Soviet mafiya as such. Both have been proven to use such tactics.
- seanwilson 11y agoThis would be an argument against using any site that allows user uploaded content, such as this site.
- Dylan16807 11y agoIf you want to be super-paranoid, only accept BMP or TGA with a specific color depth and no compression and validate the header before parsing. Or even accept only raw RGB data, 3 * width * height, and require the size be passed separately. Then convert it to png yourself. You can't prevent exploits from all angles, but you can prevent exploits from some angles.