如何限制我的 AIR 分发?
有什么方法可以限制我的 AIR 应用程序进一步分发吗?
假设我制作了一个 AIR 应用程序,并将该应用程序送给我的朋友。 有什么方法可以让他不能将这个应用程序重新分发给任何新人吗?
Is there any way through which i can restrict my AIR app to be further distribution?
Say I have make one AIR application and I give this app to my friend. Is there any way so that he can not re distribute this app to any new person?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
没有内置的任何东西可以帮助您解决这个问题,但我想到了两个想法。
一种选择是在首次启动时需要序列号。 使用 HTTPS 针对服务器验证序列号,然后将其加密存储在本地存储中。 然后,您可以在服务器上验证该计算机对序列号的使用,或者使用该计算机特有的内容来加密本地存储。
您还可以使用客户端证书,该证书需要安装在用户计算机上。 然后,应用程序可以在启动时根据证书进行验证。
There's nothing built in that will help you solve this, but two ideas come to mind.
One choice is to require a serial number on first startup. Validate the serial number against a server using HTTPS and then store it, encrypted, in the local store. You could then validate that machine's use of the serial either on the server, or by using something unique to the machine to encrypt the local store.
You could also possibly use client certificates, which would need to be installed on the user machine. The application could then validate against the certificate on startup.
这是一个很好的问题。 一个可能的解决方案是认证。 不过我在这里有一个疑问。 您是否希望您的朋友不要分发此应用程序+它无法进行二次安装。
二次安装是指您的朋友希望他的系统格式化并重新安装应用程序。 你想支持这个吗?
如果没有那么解决方案很简单。
This is a good question. A possible solution to this is certification. However i have a doubt here. Do you want your friend not to distribute this application + no secondary installation is possible with it.
Secondary installation means if your friends wants his system to format and reinstall the application. Do you want to support this?
If no then solution is easy.
如果您限制 AIR 应用程序的分发,那么您是否就无法将该应用程序提供给您的朋友了? 我可以看到在任何应用程序中完成此操作的唯一与语言无关的方法是您让您的朋友过来看看您的计算机。
如果您热衷于让 AIR 应用程序成为“您的”,您可以尝试对其进行签名数字化,但获得证书需要花费大量金钱。
If you restrict your AIR application from distribution, wouldn't that make it impossible for you to give the application to your friend? The only language-agnostic way I can see this be done with any application is that you have your friend come over and have a look on your computer.
If you are keen on making the AIR application "yours" you could try to sign it digitally but getting a certificate costs loads of money.