带有 HTTPS 的 jQuery Uploadify 插件
jQuery Uploadify 插件使用 flash swf 上传文件。我已经在 HTTP 网站上实现了它,但现在我想在 HTTPS 上做同样的事情。它在 IE 上工作正常,但在 FF 中会因返回 IO 错误而中断。一定是闪存安全问题。
是否有任何解决办法可以让闪存通过 SSL 工作。欢迎任何想法或建议。
jQuery Uploadify plugin uses flash swf to upload files. I have implemented it on a HTTP website but now I want to do the same on HTTPS. It works fine on IE but breaks in FF by returning IO error. It must be flash security issue.
Is there any work around to get the flash working over SSL. Any ideas or suggestions are welcomed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最初我使用自签名证书来测试我的 https 上传,当然它不起作用。
然后我尝试使用第三方的 CA 证书进行相同的操作,它确实可以部分工作。我使用 IIS 7 和 ASP .Net 实现了 Uploadify。第一次上传总是失败 [要么是当天的第一次,要么可能是会话,不确定是哪一个],http 500,由于 IIS 7 上 BEGIN_REQUEST 处的 IO,但是后续上传可以工作顺利。
此问题可能特定于 IIS 7,并且可能适用于其他 Web 服务器 [尚未确认,因为我没有在其他服务器上尝试过]。
顺便说一句,由于时间紧迫,我用 Codeplex 中的一个类似的 silverlight 项目替换了 uploadify。只需在 Codeplex 上搜索“silverlight 多文件上传”,以防万一有帮助。
Initially I was using a self-signed certificate to test my uploadify with https, surely it didnt work.
Then I tried the same with CA certificate from a third party and it does work partially. I implemented Uploadify with ASP .Net with IIS 7. First time upload always fail [either first for the day or may be session, not sure which one] with http 500, due an IO at BEGIN_REQUEST on IIS 7, but, subsequent uploads work smoothly.
This issue may be specific to IIS 7 and it may work with other web servers [Its not confirmed, as I didn't try on another].
BTW due time crunch I replaced uploadify with a similar silverlight project from codeplex. Just search for 'silverlight multi file upload' on codeplex, just in case if that helps.
我使用带有 HTTPS 的 Uploadify 插件 (v2.0.3),它对我来说工作得很好。确保所有资源(css、js、flash)都是从 https 加载的。错误从何而来?一切加载正常吗?如果您提供更多信息,也许我可以帮助调试。
I use the Uploadify plugin (v2.0.3) with HTTPS and it works fine for me. Make sure all your resources (css, js, flash) are loaded from https. Where does the error come from? Does everything load properly? If you give a little more info maybe I can help debug.