Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Limit image formats on Magick.net

$
0
0
As per the link below, ImageMagick supports a huge number of file formats.

http://www.imagemagick.org/script/formats.php

This could be a potential attack vector when servers allow visitors to upload any image file format. Is there a way to limit processing to certain formats only?

Example:
MagickReadSettings settings = new MagickReadSettings();
settings.AllowedFormats = "jpg,tiff,gif";
Thank you for your help.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>