Skip to main content

File Storage

Overview​

The bSQL database comes fully integrated with a built in file store that uses end-to-end encryption to securely and safely write immutable files to the database. The file store blockchain is called sysfiles and can only be referenced using the STORE and EXPORT FILE commands.

Perks​

  • The file store allows you to integrate file-storage at the same level as the rest of your data.
  • From a design perspective this allows the user to upload inter-blockchain dependent, relational files.
  • The file-store empowers developers to easily integrate file storage into their bSQL applications.

Permissions​

  • The admin database role must transfer permissions to users before they can use the file store.
  • Every bSQL login has an encryption key associated with the account, and this key is used to encrypt and decrypt files.

See Also​