Bada Question: Download Bada PDF

How to secure or encrypt my files and databases?

Tweet Share WhatsApp

Answer:

You can encrypt files using Construct() with the secureMode parameter.
For example, if you want to create secure files, use File::Construct(const Osp::Base::String &filePath, const Osp::Base::String &openMode, bool secureMode, bool createParentDirectories).
If you want to create secure database files, use Database:: Construct (const Osp::Base::String &databasePath, long openMode, bool secureMode, long option).
Also, bada provides methods for converting normal files and databases to secure, encrypted ones with the ConvertToSecureFile() and ConvertToSecureDatabase() methods.

Download Bada PDF Read All 44 Bada Questions
Previous QuestionNext Question
Tell me which version of OpenGL is supported?How to emulate the storage card availability in the Emulator?