Welcome Guest, Not a member yet? Register   Sign In
xss_clean on images
#10

[eluser]Derek Jones[/eluser]
Yes, especially when trying to provide security for binary files, it's a balance, and we're never going to strike a balance that satisfies every individual or every security need. In ExpressionEngine, this has been employed fairly successfully for about a year or so. Super Admins are exempted from the filter, and there's an option to disable it entirely if one wishes. It can be pretty intensive both in terms of memory usage and as noted here, can generate false positives with ease, so it's definitely a personal decision.

The reason we protect against short tags in images even when short tags is disabled on the server is two fold. First, there's no way to know that that environment variable might not change in the future, leaving a previously safe image on your site suddenly a source of a scripting attack. Secondly, it's about being good internet citizens. If it is assumed that one wishes to only allow known-safe images to be accepted for a particular purpose on your own site, it is also assumed that you wouldn't want to let images through that were only safe on your server, as an unsuspecting individual might save that image and reuse it in an environment that was harmful.


Messages In This Thread
xss_clean on images - by El Forum - 05-17-2008, 07:58 PM
xss_clean on images - by El Forum - 05-17-2008, 08:28 PM
xss_clean on images - by El Forum - 05-17-2008, 08:53 PM
xss_clean on images - by El Forum - 05-18-2008, 06:13 AM
xss_clean on images - by El Forum - 05-18-2008, 06:38 AM
xss_clean on images - by El Forum - 05-18-2008, 08:20 AM
xss_clean on images - by El Forum - 05-18-2008, 08:32 AM
xss_clean on images - by El Forum - 05-18-2008, 10:11 AM
xss_clean on images - by El Forum - 05-18-2008, 12:43 PM
xss_clean on images - by El Forum - 05-21-2008, 01:39 PM
xss_clean on images - by El Forum - 05-22-2008, 01:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB