Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

HTTPS and Basic Authentication
  • Alot of people have asked for HTTPS and Basic Authentication support with the plugin.

    HTTPS should work if you use an offical certificate, however regarding self signed and basic authentication:

    It has been confirmed that the Adobe Flash Player does not support self signed certificates or Basic Authentication. To support these security methods we need to be able to send custom headers with the upload request. Adobe in their infinate wisdom has continued to block this facility ever since they first added the upload feature to their player. If you want to provide some level of security then use the session ids as described by Boban here http://uploadify.com/forum/viewtopic.php?f=5&t=43

    For those who know a little flash: Although URLRequest's accept URLRequestHeader's it is the FileReference that is blocking the submission of the headers that get added.

    Unless someone can come up with a way to bypass this, the matter is now closed until adobe wise up and give control of this to the programmers.

    Sorry, but this is out of our control. On the lighter side, we have the code ready to go when adobe do allow headers to be added their upload().
  • I beleive that you would be able to solve this the same way I did.
    See below an object that is used in an aspx page.

    Example:

    <object enableviewstate=\"false\" style=\"width: 400px; height: 270px; position: relative;\"
    id=\"Object2\" codebase=\"https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\"
    align=\"top\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\">
    <param name=\"allowScriptAccess\" value=\"sameDomain\">
    <param name=\"movie\" value=\"fileUploadv1_0_5.swf\">
    <param name=\"quality\" value=\"high\">
    <param name=\"wmode\" value=\"transparent\">
    <param name=\"FlashVars\" value=\"progressY=235&amp;MaxFileCount=5&amp;MaxFileSize=157286400&amp;completeFunction = uploadComplete&amp;progressX=9.5&amp;uploadBtnX=85&amp;uploadBtnY=189&amp;browseBtnX=9.5&amp;browseBtnY=189&amp;progBarWidth=400&amp;statusTheme=0X0000FF&amp;progressTheme=0X0000FF&amp;buttonTheme=0X0000FF&amp;uploadPage=[color=#FF0000]https://somedomain.com:443/asubdir/upload.aspx&amp;completeFunction=uploadComplete()\">[/color]
    <embed enableviewstate=\"false\" src=\"fileUploadv1_0_5.swf\" flashvars=\"progressY=235&amp;MaxFileCount=5&amp;MaxFileSize=157286400&amp;completeFunction = uploadComplete&amp;progressX=9.5&amp;uploadBtnX=85&amp;uploadBtnY=189&amp;browseBtnX=9.5&amp;browseBtnY=189&amp;progBarWidth=400&amp;statusTheme=0X0000FF&amp;progressTheme=0X0000FF&amp;buttonTheme=0X0000FF&amp;uploadPage=[color=#FF0000]https://somedomain.com:443/asubdir/upload.aspx&amp;completeFunction=uploadComplete()\"[/color]
    quality=\"high\" wmode=\"transparent\" width=\"420\" height=\"270\" name=\"fileUploadSecure\"
    align=\"top\" allowscriptaccess=\"sameDomain\" type=\"application/x-shockwave-flash\"
    pluginspage=\"https://www.macromedia.com/go/getflashplayer\"></embed>
    </object>