如何限制AIR分发?

时间:2023-01-13 00:06:29

Is there any way through which i can restrict my AIR app to be further distribution?

有什么方法可以限制我的AIR应用程序进一步分发?

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?

假设我已经制作了一个AIR应用程序,并将此应用程序提供给了我的朋友。有什么办法让他不能将这个应用程序分发给任何新人吗?

3 个解决方案

#1


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.

一种选择是在首次启动时需要序列号。使用HTTPS验证服务器的序列号,然后将其加密存储在本地存储中。然后,您可以在服务器上验证该计算机对串行的使用,或者使用计算机的唯一内容来加密本地存储。

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.

您还可以使用客户端证书,这些证书需要安装在用户计算机上。然后,应用程序可以在启动时验证证书。

#2


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.

如果没有那么解决方案很容易。

#3


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.

如果您限制AIR应用程序的分发,那么您是否无法将该应用程序提供给您的朋友?与任何应用程序相关的唯一与语言无关的方法是,让您的朋友过来看看您的计算机。

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.

如果您热衷于将AIR应用程序设置为“您的”,则可以尝试以数字方式对其进行签名,但获取证书需要花费大量资金。

#1


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.

一种选择是在首次启动时需要序列号。使用HTTPS验证服务器的序列号,然后将其加密存储在本地存储中。然后,您可以在服务器上验证该计算机对串行的使用,或者使用计算机的唯一内容来加密本地存储。

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.

您还可以使用客户端证书,这些证书需要安装在用户计算机上。然后,应用程序可以在启动时验证证书。

#2


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.

如果没有那么解决方案很容易。

#3


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.

如果您限制AIR应用程序的分发,那么您是否无法将该应用程序提供给您的朋友?与任何应用程序相关的唯一与语言无关的方法是,让您的朋友过来看看您的计算机。

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.

如果您热衷于将AIR应用程序设置为“您的”,则可以尝试以数字方式对其进行签名,但获取证书需要花费大量资金。