Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲

Symfoware 表空間透明加密機制解析

編輯:關於 Android 開發

Symfoware 表空間透明加密機制解析

Symfoware V12 以 PostgreSQL 為基礎,並提供表空間層級的透明加密。其加密層級包含 Master Key、表空間 Key 與資料檔:每個表空間由各自 Key 加密,表空間 Key 再由 Master Key 加密,Master Key 則以密碼保護並存放在 keystore。

加密演算法採用 AES,並可利用 Intel Xeon 的 AES-NI 硬體指令降低加解密成本。加密範圍涵蓋表空間內的資料、索引、暫存表、暫存索引、備份輸出、WAL、排序或 Join 產生的暫存檔,以及流複製傳輸中的資料。

使用上需先設定 keystore_location,建立 Master Key,並在資料庫啟動後開啟 keystore。若要讓表空間自動加密,可設定 tablespace_encryption_algorithm 為 AES256。注意事項包括避免 core 檔或 swap 洩漏明文,也要避免 keystore 密碼被寫入日誌或網路傳輸中暴露。

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © Android教程網 All Rights Reserved