Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

acra

> 后端框架
Open source

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. S

1.5K stars0 likes0 views
WebsiteGitHub

About

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. S


Database protection suite with field level encryption and intrusion detection.

-----



| [Acra Engineering Examples](https://github.com/cossacklabs/acra-engineering-demo) | [Documentation and tutorials](https://docs.cossacklabs.com/acra/) | [Installation](https://github.com/cossacklabs/acra#installation-and-launch) | [Acra feedback](#acra-feedback) | | ---- | ---- | ---- | ---- | ## What is Acra Acra — database security suite for sensitive and personal data protection. Acra provides [application-level encryption](https://www.infoq.com/articles/ale-software-architects/) for data fields, multi-layered access control, database leakage prevention, and intrusion detection capabilities in one suite. Acra was specifically designed for distributed apps (web, server-side and mobile) that store data in one or many databases / datastores.
Perfect Acra-compatible applications Typical industries
Web and mobile apps that store data in a centralised database or object storage
  • Healthcare, patient apps
  • Finance, fintech, neobanking
  • SaaS
  • Critical infrastructures
  • Apps with > 1000 users
IoT apps that collect telemetry and process data in the cloud
High-load data processing apps
Acra gives you tools for encrypting each sensitive data record (data field, database cell, json) before storing them in the database / file storage. And then decrypting them in a secure compartmented area (on Acra side). Acra allows to encrypt data as early as possible and operate on encrypted data. Acra's [cryptographic design](https://docs.cossacklabs.com/acra/acra-in-depth/security-design/) ensures that no secret (password, key, etc.) leaked from the application or database will be sufficient for decryption of the protected data. Acra minimises the leakage scope, detects unauthorised behavior, and prevents the leakage, informing operators of the incident underway. This is [Acra Community Edition](https://www.cossacklabs.com/acra/#pricing), it's free for commercial and non-commercial use, forever. ### Major security features
  • Application-level encryption
  • encryption on client-side and/or Acra-side – each data field is encrypted using unique encryption keys.
  • Selective encryption
  • you select which columns to encrypt to balance good security and performance.
  • Fast and reliable crypto
  • two crypto-envelopes: AcraBlocks and AcraStructs.
    AcraBlocks are fast symmetric containers, use them by default.
    AcraStructs are asymmetric containers, use them for client-side encryption.
  • Searchable encryption
  • search through encrypted data without decryption. Designed for exact queries, based on AES-GCM and blind index.
  • Masking / anonymization
  • use full or partial masking to remove or mask sensitive data.
  • Tokenization
  • substitute sensitive data with a token and match it to original only when needed.
  • Basic key management tools
  • built-in tools for key generation, export, backup, rotation, etc.
  • Blocking suspicious SQL queries
  • through a built-in SQL firewall.
  • Intrusion detection
  • using poison records (honey tokens) to warn about suspicious behaviour.
  • Key rotation without data re-encryption ᵉ
  • available for Acra Enterprise users.
  • KMS support ᵉ
  • Cryptographically protected audit log ᵉ
  • Acra delivers different layers of defense for different parts and stages of the data lifecycle. This is what **defence in depth** is – an independent set of security controls aimed at mitigating multiple risks in case of an attacker crossing the outer perimeter. ### Multiple ways to integrate
  • AcraServer: transparent SQL proxy
  • all Acra features packed into a database proxy that parses traffic between an app and a database and applies security functions where appropriate.
  • AcraTranslator: encryption-as-a-service API
  • API server, that exposes most of Acra’s features as HTTP / gRPC API with traffic protection.
  • AcraConnector: transport authentication and encryption
  • optional client-side service for authentication and transport encryption.
  • AnyProxy: use Acra with any database / datastore via SDK ᵉ
  • available for Acra Enterprise users.
  • AcraWriter: SDK for client-side encryption ᵉ
  • AcraReader: SDK for client-side decryption ᵉ
  • SDK for AcraTranslator: client-side SDK that encapsulates AcraTranslator's API ᵉ
  • Bulk API for AcraTranslator ᵉ
  • ### Developer and DevOps friendly
  • Secure default settings
  • your infrastructure is secure from the start without additional configuring.
  • Cryptography is hidden
    under the hood
  • no risk of selecting the wrong key length or algorithm padding.
  • Automation-friendly
  • easy to configure and automate.
  • Quick infrastructure integration
  • via binary packages or Docker images.
  • Easy client-side integration
  • requires minimal changes in the application code.
  • Logging, metrics, tracing
  • throughout all Acra components;
    compatible with ELK stack, Datadog, Graylog, Prometheus, Grafana, Jaeger.
  • No vendor lock
  • rollback utilities to decrypt database into plaintext.
  • Demos and examples
  • numerous web-based and Docker-based example projects available.
  • DigitalOcean Acra 1-Click App
  • run AcraServer in your DigitalOcean cloud.
  • Managed solution available
  • we can setup and manage Acra for you.
    ## Cryptography Acra relies on our cryptographic library [Themis](https://www.cossacklabs.com/themis/), which implements high-level cryptosystems based on the best available [open-source implementations](https://docs.cossacklabs.com/themis/crypto-theory/cryptography-donors/) of the [most reliable ciphers](https://docs.cossacklabs.com/themis/architecture/soter/). Acra strictly doesn't contain self-made cryptographic primitives or obscure ciphers. To deliver its unique guarantees, Acra relies on the combination of well-known ciphers and smart key management scheme. See [Cryptography and key management](https://docs.cossacklabs.com/acra/acra-in-depth/cryptography-and-key-management/).
    Default crypto-primitive source OpenSSL
    Supported crypto-primitive sources ᵉ BoringSSL, LibreSSL, FIPS-compliant, GOST-compliant, HSM
    Storage encryption (AcraBlocks) AES-256-GCM + AES-256-GCM
    Storage encryption (AcraStructs) AES-256-GCM + ECDH
    Transport encryption TLS v1.2+ or Themis Secure Session
    KMS integration ᵉ Amazon KMS, Google Cloud Platform KMS, HashiCorp Vault, Keywhiz, etc
    ᵉ — available in the [Enterprise version of Acra](https://www.cossacklabs.com/acra/#pricing/) only. [Drop us an email](mailto:[email protected]) to get a full list of features and a quote. ## How does Acra work? Acra consists of several services and utilities. Acra services allow you to construct infinitely sophisticated data flows that are perfectly suited to your exact infrastructure. Depending on your architecture and use case, you might need to deploy only basic services or all of them. * **Security enforcement components**: services where "encryption happens". One of them is required: AcraServer, AcraTranslator, AnyProxy, or client-side SDKs. * **Key storage:**

    Issues· 29 open

    View all issuesOpen on GitHub

    No open issues yet, or sync has not completed.

    > Tags

    Gocryptocryptographydatabase-proxydatabases

    No comments yet. Be the first to share.

    > Details

    PublishedAug 1, 2026
    UpdatedSep 17, 2026
    Category后端框架
    PricingOpen source

    > Related tools

    N
    Node.js
    基于 V8 的 JavaScript 运行时
    D
    Django
    Python 高级 Web 框架
    S
    Spring Boot
    Java 生态主流微服务框架