<p>I want to develop some educational content, which I want to distribute to children using Adobe AIR. The content will contain videos. Now, from what I see, AIR will put the content onto the local file system, for anyone to see. I want to prevent this. Is there a way out?</p>

[{'answer_id': 71338, 'author': 'Stu Thompson', 'author_id': 2961, 'author_profile': 'https://Stackoverflow.com/users/2961', 'pm_score': 2, 'selected': False, 'text': '<p>Possibly, but you must embrace The Dark Side -- aka DRM (Digital Rights Management).  Go read up <a href="http://www.flashcomguru.com/index.cfm/2007/10/23/Flash-Video-DRM-Roundup" rel="nofollow noreferrer">Flash Video DRM</a>.  It is awfully painful stuff to do correctly, and users tend to hate it.  Ask yourself if your content is <em>really</em> so valuable and hot that you need to go down this route.</p>\n'}, {'answer_id': 75835, 'author': 'mikechambers', 'author_id': 10232, 'author_profile': 'https://Stackoverflow.com/users/10232', 'pm_score': 3, 'selected': True, 'text': '<p>One solution is to use DRM in conjunction with Flash Media Server (as mentioned by Stu).</p>\n\n<p>Another option would be to stream the content at runtime, and not cache to the file system. </p>\n\n<p>Finally, it might also be possible to store the bits for the FLV in the encrypted local data store or SQLite database (which adds encryption support in AIR 1.5), however, this probably wouldnt work well for large videos (performance issues), and you may still need to write it out to the file system first before playing (although temporarily).</p>\n\n<p>mike chambers</p>\n'}, {'answer_id': 474253, 'author': 'Vinayak', 'author_id': 22009, 'author_profile': 'https://Stackoverflow.com/users/22009', 'pm_score': 2, 'selected': False, 'text': "<p>I would suggest you carry out the following steps:</p>\n\n<ol>\n<li>Using a key to encrypt the files that you are storing</li>\n<li>At run-time create a copy of the files in a temp folder and decrypt the files that the user needs using the embedded key in the AIR program</li>\n<li>At exit, delete the decrypted files</li>\n</ol>\n\n<p>This way the files are available for a short period of time, in which they are being used. Then also it is difficult to locate them as you can decrypt them in any obscure folder. </p>\n\n<p>This would protect your files from 99% of the population. And you cannot ever stop the rest 1%. So don't even try.</p>\n\n<p>All the best.</p>\n"}]
['https://Stackoverflow.com/questions/71293', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/11783/']