FP10 hangs uploading to .htpasswd protected directory.

Flash Player 10에서 .htpasswd를 사용하여 보호되는 디렉토리로 파일을 업로드하는 경우, 플래시 플레이어가 다운되는 문제가 발생합니다. 이 문제는 특히 FireFox에서 더 심각하여, FireFox에서는 아예 업로드가 불가능합니다. Flash Player 9에서도 비슷한 문제가 있었지만, 재차 업로드하면 되었으나, 10에선 아예 안됩니다.

재현1

  1. “Upload” 버튼 클릭하여 이미지 업로드
  2. 로그인 (test / test)
  3. 업로드 중지됨
  4. 브라우저 종료하면 브라우저 다운

재현2 (Internet Explorer)

  1. “Load” 버튼 클릭하여 이미지 로드
  2. 로그인 (test / test)
  3. 이미지 로드 완료되면 화면에 표시
  4. “Upload” 버튼 클릭하여 이미지 업로드
  5. 이미지 업로드 완료

재현2 (FireFox)

  1. “Load” 버튼 클릭하여 이미지 로드
  2. 로그인 (test / test)
  3. 이미지 로드 완료되면 화면에 표시
  4. “Upload” 버튼 클릭하여 이미지 업로드
  5. 로그인 (test / test). 로그인 팝업의 UI가 2번의 UI와 다름.
  6. 업로드 중지됨
  7. 브라우저 종료하면 브라우저 다운

이 문제를 피하려면, Flash Player에서 파일을 업로드하는 PHP 파일은 .htpasswd의 영향을 받지 않는 폴더에 위치하여, 로그인 과정이 없이 파일의 업로드가 이뤄지도록 해야 합니다. 또는 IE에서만 업로드가 가능하도록 하며, 업로드 전에 로그인을 거치도록 구성할 필요가 있습니다.

IE와 FF를 제외한 다른 브라우저에서는 테스트를 해보지 못했습니다. 다른 브라우저를 사용하는 사람들은 한 번 테스트 후에 결과를 코멘트에 남겨 주세요.

Flash Player 10 hangs when you upload a file to a directory protected with the .htpasswd feature. This is more critical in FireFox, uploading a file is impossible. The same problem occured in Flash Player 9, but you can upload files in the second try. In FP10, you can’t.

reproduce1

  1. Click “Upload” button to upload an image.
  2. Login. (test / test)
  3. Uploading process halts.
  4. Close the browse, and it crashes.

reproduce2 (Internet Explorer)

  1. Click “Load” button to load an image.
  2. Login. (test / test)
  3. After the loading finished, the image displayed.
  4. Click “Upload” button to upload an image.
  5. Uploading process finished successfully.

reproduce2 (FireFox)

  1. Click “Load” button to load an image.
  2. Login. (test / test)
  3. After the loading finished, the image displayed.
  4. Click “Upload” button to upload an image.
  5. Login (test / test). The UI of the Login popup is different from the procedure 2.
  6. Uploading process halts.
  7. Close the browser, and it crashes.

To avoid the problem, place the PHP file, that handles the uploaded file from Flash Player, on a directory which is not affected by .htpasswd. Or filter browsers to accept only IE, then, put the login process before upload a file.

I tested in IE and FF. If you tested in other browser, please leave a comment about the result.

Flash Player 10で .htpasswdを使って保護されているフォルダにファイルをアップロードする場合、Flash Playerがクラッシュする問題があるんです。これはFireFoxでもっとひどくて、FireFoxではファイルのアップロードが不可能です。Flash Player 9も同じ問題があったが、再びアップロードすればできたのに、10は全然ダメ。

再見1

  1. “Upload”ボタンをクリックして、イメージをアップロード。
  2. ログイン (test / test)
  3. アップロードが中止される。
  4. ブラウザを閉じると、クラッシュ。

再見2 (Internet Explorer)

  1. “Load”ボタンをクリックして、イメージをロード
  2. ログイン (test / test)
  3. ロードが終わったら、イメージが表す。
  4. “Upload” ボタンをクリックして、イメージをアップロード。
  5. アップロード終了。

再見2 (FireFox)

  1. “Load”ボタンをクリックして、イメージをロード
  2. ログイン (test / test)
  3. ロードが終わったら、イメージが表す。
  4. “Upload” ボタンをクリックして、イメージをアップロード。
  5. ログイン (test / test). ログインウィンドーのUIが2番目と違う。
  6. アップロードが中止される。
  7. ブラウザを閉じると、クラッシュ。

もの問題を回避する為には、Flash PlayerからファイルをアップロードするPHPファイルを.htpasswdの影響のないフォルダに置く。他にはIEだけでアップロードが出来るようにし、アップロードの前にログインさせる必要があります。

私はIEとFFしかテストして見ました。他のブラウザでテストした方は、コメントを残してください。

Useful browser add-ons.

I was a bit suprised when I worked with several Flash developers and Web developers. Becuase they didn’t know about the following browser add-ons, useful tools on debugging. So, here I introduce these extensions.
플래시 개발자나 웹 개발자들과 같이 작업을 하면서 많은 개발자들이 모르고 있는 것 같아서, 알아두면 매우 편리한 브라우저 애드-온 몇 가지를 소개합니다. 디버깅 등의 작업에 정말 많은 도움이 됩니다.
色んなフラッシュ開発者やウェブ開発者と作業しながら、少しびっくりしました。なぜなら、多くの開発者たちがこのアドオンに就いて全然知らなかったからです。だから、便利なアドオンを紹介します。デバグする時本当に役に立ちます。

Firefox Add-ons

Internet Explorer Add-ons

IE ACA Preview #2 update is available.

Microsoft released Internet Explorer Automatic Component Activation (IE ACA) Preview #2 update which will disable the “Click to activate” behavior. You have to install Internet Explorer update 944533 (security bulletin MS08-010) before you install IE ACA preview #2 update.
마이크로소프트에서 인터넷 익스플로어 컴퍼넌트 자동 활성화(IE ACA) 프리뷰 2 업데이트를 공개했습니다. 이 업데이트는 더 이상 “Click to activate” 메세지를 표시하지 않도록 합니다. 이 IE ACA 프리뷰 2를 설치하기 전에, 반드시 인터넷 익스플로어 업데이느 944533 (security bulletin MS08-010)을 설치해야 합니다.
マイクロソフトがInternet Explorer Automatic Component Activation (IE ACA) Preview #2 updateをリリースしました。このアップデートは”クリックしてアクティブ化する”動作を無効にします。このアップデートを展開する前に、必ず Internet Explorer update 944533 (security bulletin MS08-010)が適用されているのか確かめて下さい。

http://support.microsoft.com/kb/947518
IE Automatic Component Activation Preview Available
Goodbye to “Click To Activate”

IE Automatic Component Activation Preview Available

IE Automatic Component Activation Preview, that I mentioned on Goodbye to “Click To Activate”, is released. For more infomation about IE ACA, check Knowledge Base article 945007.

It is highly recommened to install IE ACA for testing. The Internet Explorer cumulative update for general users is planned for April 2008. IE ACA disables the “Click to activate” message. And developers don’t have to create new Web pages or modify current pages.

Goodbye to “Click To Activate” 포스트에서 얘기했던 IE Automatic Component Activation 프리뷰 버전이 나왔네요. IE ACA에 대한 자세한 정보 및 다운로드는 Knowledge Base article 945007를 참고하세요.

IE ACA는 프리뷰 버전으로 테스트를 위해서 설치, 사용하도록 권장됩니다. 일반사용자용 업데이트는 내년 4월에 공개될 예정입니다. IE ACA를 설치하면 IE에서 플래시 등의 객체에 대해서 “Click To Activate” 메세지가 나타나지 않습니다. 또한 웹사이트 개발자도 현재의 웹페이지를 수정하거나 새로운 웹페이지를 생성해야할 필요가 없습니다.

Goodbye to “Click To Activate”で書いた IE Automatic Component Activation Previewが公開されました。IE ACAの詳しい情報は Knowledge Base article 945007を参考します。

IE ACAはテストのために組み込む、使用するのが勧められる。一般のユーザのためのアップデートは来年の四月に公開する予定です。IE ACAをインストールすると、IEでFlashなどの客体に対して”Click To Activate”メッセージを示さないんです。また、ホームページ開発者も、現在のページを直すとか、新たなページを作るとか、する必要はないんです。

via IE Blog: IE Automatic Component Activation Preview Now Available

Goodbye to “Click To Activate”

After the IE update in April 2006, users had to click objects to interact with those objects, including flash movies. The activation process may not be needed from next year. For Microsoft licensed from Eolas, we won’t see “click to activate” message anymore. Accrodingly, there is no need to use external JavaScript file to avoid the activation thing.

This update will be applied to the optional preview release, available in December 2007, and then to the next pre-release versions of Widows Vista SP1 and Windows XP SP3. Finally, the update will be available for all customers through the IE Cumulative Update in April 2008.

2006년 4월에 인터넷 익스플로어가 업데이트 된 다음, 플래시 등의 오브젝트들을 사용하려면 사용자가 먼저 해당 오브젝트를 클릭해야 했습니다. 그런데 내년에는 그럴 필요가 없어지네요. 마이크로소프트는 이올라스로부터 관련 기술의 라이선스를 취득하여 더이상 “click to activate” 메세지를 보지 안아도 되게 되었네요. 당연히 이를 회피하기 위해서 object 및 embed 태그를 외부 자바스크립트로 분리해야 할 필요도 없습니다.

2007년 12월에 선택적인 프리뷰 릴리즈를 통해서 먼저 선보여질 에정이며, 그 다음 비스타 SP1과 XP SP3의 프리릴리즈 버전에도 포함될 것이라고 합니다. 그리고 일반적인 사용자들은 2008년 4월 업데이트를 통해 적용받게 됩니다.

2006年四月のアップデート以来、フラッシュなどの客体と相互に影響し合うためにその客体をクリックしなければならなかったんです。来年からその必要はありません。マイクロソフトがイオラスからライセンスを取得したから、もう”click to activate”メッセージは無くなります。そして、それを回避しに外部JavaScriptファイルを作成しなくてもいい。

このアップデートは今年の十二月選択的なプリーリリースを通じてお目見えします。次はVista SP1とXP SP3のプリーりりーす。普通のユーザは2008年四月からダウンロードできます。

via IEBlog: IE Automatic Component Activation (Changes to IE ActiveX Update)