How do I restrict my AIR distribution?


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?

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.