Can an AIR application access its own digital signature?
All AIR installation files must be digitally signed (http://help.adobe.com/...). Is there a way for an AI开发者_运维问答R application to access this signature information at runtime?
Say, I'm distributing client-side component of a client-server application, and this client component is implemented using AIR, and I want to prevent* modified copies of the client from accessing the server. Then I could do that by letting the server check the digital signature of the client.
(* of course, this is by no means provides a full guarantee, as it is always possible to re-implement the client-server protocol, but let's consider the simplest case)
Why? I assume you are doign this to prevent piracy? If so, I think you should reconsider the value of doing this. If your users are modifying your application in order to crack it, they can also modify it to send a "valid" signature back to your server. Your time would almost certainly be better spent adding features that your users want to pay for.
精彩评论