是否可以在 AIR 应用程序中下载文件,将其存储在用户系统中,并禁止与下载该文件的应用程序不同的应用程序访问这些文件?
flexor
问问题
890 次
3 回答
1
在 Windows 上肯定不容易做到。加密它的内容可能会更好。
编辑:创建其他程序无法访问的文件是非常类似病毒的行为。
于 2009-06-15T21:42:31.763 回答
1
加密确实可能是要走的路。AIR 确实有一个方便的加密本地存储,它应该为您简化这种方法:
http://livedocs.adobe.com/flex/3/langref/flash/data/EncryptedLocalStore.html
于 2009-06-15T23:01:41.170 回答
0
Your best bet is to store the contents of the file in the EncryptedLocalStore or a local shard object. While you can store the downloaded file in a directory on the user's file system, you aren't going to be able to prevent it from being accessed by other applications (or the user) on the system. That's a security issue because that's how a lot of viruses work.
于 2009-11-24T04:28:49.693 回答