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
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:**