Answers

Question and Answer:

  Home  Bada

⟩ How to secure or encrypt my files and databases?

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.

 146 views

More Questions for you: