How to protect content in AIR?

I want to develop some educational content that I want to distribute to children using Adobe AIR. Content will contain video. Now, from what I see, AIR will put content on the local file system, for those who see it. I want to prevent this. Is there a way out?

+4
source share
3 answers

One solution is to use DRM in conjunction with Flash Media Server (as mentioned by Stu).

Another option would be to stream content at runtime rather than caching the file system.

Finally, it is also possible to store the bits for the FLV in an encrypted local data store or SQLite database (which adds encryption support in AIR 1.5), however this probably won't work for large videos (performance issues), and you still have to record first it to the file system before playback (although temporarily).

microphone cameras

+3
source

Perhaps, but you should take the Dark Side - as well as DRM (Digital Rights Management). Go read Flash Video DRM . These are terribly painful things to do right, and users tend to hate it. Ask yourself if your content is really so valuable and hot that you need to go this route.

+4
source

I suggest you follow these steps:

  • Using a key to encrypt files that you store
  • At run time, create a copy of the files in the temp folder and decrypt the files the user needs using the built-in key in the AIR program
  • When you exit, delete the decrypted files

Thus, files are available for a short period of time in which they are used. Then it’s also difficult to find them, since you can decrypt them in any obscure folder.

This will protect your files from 99% of the population. And you cannot stop the rest by 1%. Therefore, do not even try.

All the best.

+2
source

Source: https://habr.com/ru/post/1276744/


All Articles