简体   繁体   English

保护 MS excel JavaScript API 插件

[英]Protecting MS excel JavaScript API add-in

sorry in advance if this is a silly question - is there anyway to protect published excel add-in JavaScript code from competitors?如果这是一个愚蠢的问题,请提前抱歉 - 是否有保护已发布的 excel 插件 JavaScript 代码免受竞争对手的攻击? I have read about obfuscation though wonder if this will be permitted by the MS Partner review process.我已经阅读了有关混淆的内容,但想知道 MS 合作伙伴审查流程是否允许这样做。 I am putting a lot of effort into developing and publishing an excel JavaScript API, and I hope that the code is inherently protected but cannot find any literature on this.我付出了很多努力来开发和发布 excel JavaScript API,我希望代码受到固有保护,但找不到任何关于此的文献。 Any advice would be appreciated.任何意见,将不胜感激。

An Office Add-in includes two basic components: an XML manifest file, and your own web application. Office 加载项包括两个基本组件:XML 清单文件和您自己的 web 应用程序。 The manifest defines various settings, including how your add-in integrates with Office clients.清单定义了各种设置,包括您的加载项如何与 Office 客户端集成。 Your web application needs to be hosted on a web server, or web hosting service, such as Microsoft Azure.您的 web 应用程序需要托管在 web 服务器或 web 托管服务上,例如 Microsoft Z3A580F5FBC08FBC08F637F。

The manifest is an XML file that specifies settings and capabilities of the add-in includes:清单是一个 XML 文件,它指定了插件的设置和功能,包括:

  • The add-in's display name, description, ID, version, and default locale.加载项的显示名称、描述、ID、版本和默认区域设置。
  • How the add-in integrates with Office.加载项如何与 Office 集成。
  • The permission level and data access requirements for the add-in.加载项的权限级别和数据访问要求。

so when your customer download the add-in, they actually download the manifest file, they still need to access the your web application hosted in web server.因此,当您的客户下载插件时,他们实际上下载了清单文件,他们仍然需要访问托管在 web 服务器中的 web 应用程序。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM