If you are allowing files to be uploading through freeform applications into an arbitrary directory that is not managed through the CMS, you may need to adjust the Apache web server configuration to assign a mimetype and force a download so that the browser does not try to open a file when it is downloaded through a freeform app.

The following example is based on work the was completed on the spectrumplasticsgroup.com website.  s

Coding Example

    <Directory /var/ittrium/a12/webapps/ittrium/dashboard_files>
        <Files *.*>
            ForceType application/octet-stream
              Header set Content-Disposition attachment
          </Files>    
    </Directory>