AshMach:
Does AJAX Uploader validate against MIME types , or does it ONLY look at file extensions?
In other words, if I want to limit me control to only upload GIFs, and someone takes an executable virus EXE file, renames it to harmless.GIF, can they upload that file to the site?
Or, is there a way to have AJAX Uploader actually inspect the ContentType of the file, see it's MIME type as application\octet (or whatever illegal type you want), and reject the file upload, and return an error message?
Thanks
This function is implemented in the latest build.
Article:
Enable and disable mimetype checking on uploads
Online Demo:
Enabling and disabling mimetype checking on uploads
Download:
Ajax Uploader for ASP.NET
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx