NO SSL Flash Upload

Download the current version from the WordPress plugin directory.

Released under the GPL (version 2).
Project Status: Discontinued

New versions of WordPress use an HTML5 uploading mechanism instead of the Flash uploader, so this plugin is no longer needed.

If you are using SSL (https) to secure your WordPress admin sessions and you have an SSL certificate that is not trusted by default (because it is self-signed, signed by an untrusted certificate authority, signed for a different domain name, etc.), then you probably have problems using the Flash uploader.

This plugin disables SSL usage by the Flash uploader. This allows you to use the Flash uploader when you have FORCE_SSL_ADMIN enabled, with an untrusted SSL certificate. This works around the vague “IO Error” you get from the Flash uploader in such a situation.

Note that this plugin comes with the following security implications:

  • Flash uploads no longer use SSL, thus, your uploaded files aren’t encrypted during transmission.
  • Uploading files with the Flash uploader will transmit your WordPress authentication cookie in plain text.
  • If someone captures your login cookie (which is transmitted any time you load a page on your WordPress site while logged in, whether you are using SSL or not), they may be able to use it to upload files, view information about uploaded files, or change information about uploaded files.

If the benefit of having the Flash uploader available outweighs these potential security risks for you, then you can use this plugin to enable the Flash uploader.

Note that this plugin override’s WordPress’s auth_redirect and wp_validate_auth_cookie functions, and may not work if you are using other plugins that override these functions.

Changelog

  • Version 1.0.6
    • February 15, 2010
    • Changed the name of the plugin. I don’t think it needs to have my name in the title after all.
    • Minor updates to documentation.
    • Reverted “code collapse” change from 1.0.4 (no change in functionality, just code style).
  • Version 1.0.5
    • January 4, 2010
    • Updated the auth_redirect function to match changes made in WordPress 2.9. Now requires WordPress 2.9. WordPress 2.8.x users can use version 1.0.4.
    • Minor updates to documentation.
  • Version 1.0.4
    • December 18, 2009
    • Fixed a bug that prevented viewing and editing media information immediately after upload with WordPress 2.9.
    • Changed code in the overridden functions so that all of my changes are on one line if possible. This is to make it easier to check against the original WordPress functions for changes when a new version comes along.
  • Version 1.0.3
  • Version 1.0.2
    • December 11, 2009
    • Fixed error activating plugin, extra installation instructions no longer necessary.
  • Version 1.0.1
    • December 10, 2009
    • Added “Installation process” section to readme, in case of errors activating the plugin.
  • Version 1.0
    • December 10, 2009
    • Initial release.

One thought on “NO SSL Flash Upload”

  1. Thanks for the plugin as it sounds as though it will fix my IO error.

    I have installed the plugin but now get an ‘HTTP error’.

    Do you know why this might be happening?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

My little corner of the Internet