<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb" -->

---
title: Encryption at rest is not authorization | daily.dev
description: Database encryption protects data at rest from disk theft or stolen backups but says nothing about whether a specific user should be allowed to see a specific...
canonical: https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Encryption at rest is not authorization | daily.dev
og:description: Database encryption protects data at rest from disk theft or stolen backups but says nothing about whether a specific user should be allowed to see a specific...
og:url: https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb
og:image: https://api.daily.dev/og/posts/cbNYT8FLb.png
og:image:alt: Encryption at rest is not authorization
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Encryption at rest is not authorization

**[Auth By Example](https://daily.dev/sources/7eadcwhmohx0bchehapmt)** · [@authbyexample](https://daily.dev/authbyexample) · 1 min read · 0 upvotes · 0 comments

## Summary

Database encryption protects data at rest from disk theft or stolen backups but says nothing about whether a specific user should be allowed to see a specific record. After loading a row for a request, applications must still enforce authorization checks on the subject, action, and resource before returning the data to the caller.

## Content

Encrypting a database protects disks and stolen backups. It does not decide whether Alice may read Bob's invoice. After you load a row for a request, still authorize the subject, action, and resource before returning it.

## Similar posts on daily.dev

- [How do you run a query against data the database can’t read?](https://daily.dev/posts/how-do-you-run-a-query-against-data-the-database-can-t-read--s3v6uvjr5) · DevBlogs · 0 upvotes · 1 comments
- [Data-at-Rest Encryption in DuckDB](https://daily.dev/posts/data-at-rest-encryption-in-duckdb-ndk9tu0yl) · DuckDB · 2 upvotes · 0 comments
- [Your cloud storage can read your files. Here’s why that matters.](https://daily.dev/posts/your-cloud-storage-can-read-your-files-here-s-why-that-matters--8mdk8miv2) · All Things Open · 0 upvotes · 0 comments
- [5 Best Practices for Data Security Every Data Engineer Should Follow](https://daily.dev/posts/5-best-practices-for-data-security-every-data-engineer-should-follow-hwiwgpshn) · Decube · 0 upvotes · 0 comments

---

Tags: [#appsec](https://daily.dev/tags/appsec), [#authorization](https://daily.dev/tags/authorization)

[View this post on daily.dev](https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb","headline":"Encryption at rest is not authorization","text":"Database encryption protects data at rest from disk theft or stolen backups but says nothing about whether a specific user should be allowed to see a specific record. After loading a row for a request, applications must still enforce authorization checks on the subject, action, and resource before returning the data to the caller.","url":"https://daily.dev/posts/encryption-at-rest-is-not-authorization-cbnyt8flb","datePublished":"2026-09-25T18:47:22.298Z","dateModified":"2026-09-25T18:47:37.345Z","author":{"@type":"Person","name":"Auth By Example","url":"https://daily.dev/authbyexample","image":"https://media.daily.dev/image/upload/s--Fgz7IgGQ--/f_auto/v1789653205/avatars/avatar_7EADCwHmOHX0bChEhAPmt?_a=BAMAMicg0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/7eadcwhmohx0bchehapmt","name":"Auth By Example"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Auth By Example","item":"https://daily.dev/sources/7eadcwhmohx0bchehapmt"},{"@type":"ListItem","position":3,"name":"Encryption at rest is not authorization"}]}
```

