Word 2010 和 Excel 2010 插件的代码是否需要进行数字签名
我已经为 Word 和 Excel 2003 及更早版本构建了基于模板的加载项。这些版本始终要求代码进行数字签名,以便它可以在打开了宏安全性的计算机上运行。
我现在正在为 Office 2010 开发一些基于模板的加载项(以受保护的 .dotm 文件形式提供)。加载项将创建提供业务功能的自定义功能区。看起来虽然我可以进行代码签名,但我不再需要如果我将 .dotm 文件安装到 [用户配置文件]\Roaming\Microsoft\Word\Startup 中,可以进行代码签名。在我有限的测试中,这似乎有效,我有兴趣将其分发到其他计算机上。我的代码签名证书不受信任的域。
任何帮助将不胜感激。
I have built template-based add ins for Word and Excel version 2003 and previous. Those versions always required the the code to be digitally signed so that it would run on machines that had macro security turned on.
I am now working on some template based add ins for Office 2010 (to be delivered as a protected .dotm file. The add ins will create custom ribbons that provide business functionality. It looks like while I can do code signing, I no longer need to do code signing if I install my .dotm file into [user profile]\Roaming\Microsoft\Word\Startup. Can anyone verify this? In my limited testing this seems to work and I am interested in distributing this to some computers out of our domain where my code signing certificate is not trusted.
Any help would greatly appreciated. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,从 Word 97 到 Word 2010 一直是这种情况 - 不会检查 STARTUP 文件夹中的 dot/dotm 文件是否进行签名(显然是因为将它们放入该文件夹应该是手动操作)。只要有人没有禁用 STARTUP 文件夹加载项,它就无需签名即可工作(有关如何禁用它的知识库位于此处 http://support.microsoft.com/kb/921541 下的“禁用启动文件夹加载项”部分)。
Yes, that has been the case since Word 97 to Word 2010 - dot/dotm files in the STARTUP folder are not checked for signing (apparently because getting them into that folder is supposed to be a manual effort). It will work without signing as long as someone has not disabled STARTUP folder add-ins (the KB on how someone would disable it is here http://support.microsoft.com/kb/921541 under section "Disable the Startup folder add-ins").