[mod-security-users] Validation type of upload files
Brought to you by:
victorhora,
zimmerletw
|
From: Jochen K. <deb...@fr...> - 2005-02-22 21:18:14
|
I have a PHP-form running at http://127.0.0.1/xxx.xxx/upload/upload.php with a file-selection field. All the date ist transmitted to http://127.0.0.1/noeinfo.noe.de/upload/do_upload.php Now I wan't to allow only image-files to be uploaded. But the following does not work: <Location /var/www/noeinfo.noe.de/upload/upload.php> SecFilterInheritance Off SecFilterSelective POST_PAYLOAD "!image/(jpeg|bmp|gif)" </Location> What's wrong here? Thanx -- Jochen Kaechelin |