Blackberry: Mass storage Mode disable
Is there any API for disabling the开发者_StackOverflow社区 mass storage mode in blackberry?
There is no RIM SDK API available to disable storage mode neither disable usb on the device. Some restrictions can be made by the BlackBerry Enterprise Server administrator. But it will work only for the devices connected to BES (BlackBerry Enterprise Server).
To protect your data use encryption means provided by RIM SDK.
I am not aware of an API to do that. The user has the option to set mass storage mode to enable, prompt or disable. The user may configure the SDCard to be encrypted. For devices attached to a BES there are ITPolicies that control use of and access to the SDCard and encryption, but I am not familiar with the details.
In general, on the BlackBerry platform, third party programs are not given the ability to over ride the BES admin or user security decisions.
If you can use TinySQL data base there are methods of encrypting the database file and limiting access to the database to module that have been signed by a specified signing authority.
精彩评论