开发者

Listing down stored records EncryptedLocalStore - Adobe Air

How do I get to list down the stored records in the EncryptedLocalStore for loop? Of course I'm talking开发者_开发百科 about javascript and Adobe Air.


There is no way to retrieve the list of stored items from an ELS using JavaScript or for that matter Adobe AIR. As per the API, http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/EncryptedLocalStore.html

ELS supports only working with known keys. There is no way to get a list of keys from the ELS, this is to prevent circumventing the security around ELS - which is the prime objective of the functionality.

If you want to do the same in your own application, extend ELS and make sure you keep storing keys passed to ELS in a separate database table/shared object, which may query later to get a list of all keys.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜