#rowlevelsecurity — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rowlevelsecurity, aggregated by home.social.
-
Before I flipped my Supabase PSA tool public, I had to convince myself a fork couldn't ship a security hole. Here are the five patterns that made me trust it. https://hackernoon.com/defense-in-depth-in-a-tiny-supabase-app-5-patterns-i-baked-into-altair-before-open-sourcing-it #rowlevelsecurity
-
Your Django ORM protects tenant data. Your raw SQL doesn't. 😬
That's why I built django-rls-tenants — multitenancy powered by PostgreSQL Row-Level Security, enforced at the database level.
🔒 Every query is filtered — ORM, raw SQL, even dbshell
🚫 Missing tenant context? Zero rows returned, never a data leak
📦 Single schema, no connection routing headaches
⚡ Drop-in: one base model, one middleware, doneUnlike schema-based or ORM-rewriting approaches, RLS policies live in PostgreSQL itself. The database becomes your last line of defense — not your app code.
Supports Python 3.11+, Django 4.2–6.0, PostgreSQL 15+.
Just shipped v1.0.0 🚀
pip install django-rls-tenants
📖 Docs & source: https://github.com/dvoraj75/django-rls-tenants
Feedback, stars & contributions welcome! ⭐
#Django #Python #PostgreSQL #MultiTenancy #RowLevelSecurity #OpenSource #WebDev #SaaS #InfoSec #Database
-
Your Django ORM protects tenant data. Your raw SQL doesn't. 😬
That's why I built django-rls-tenants — multitenancy powered by PostgreSQL Row-Level Security, enforced at the database level.
🔒 Every query is filtered — ORM, raw SQL, even dbshell
🚫 Missing tenant context? Zero rows returned, never a data leak
📦 Single schema, no connection routing headaches
⚡ Drop-in: one base model, one middleware, doneUnlike schema-based or ORM-rewriting approaches, RLS policies live in PostgreSQL itself. The database becomes your last line of defense — not your app code.
Supports Python 3.11+, Django 4.2–6.0, PostgreSQL 15+.
Just shipped v1.0.0 🚀
pip install django-rls-tenants
📖 Docs & source: https://github.com/dvoraj75/django-rls-tenants
Feedback, stars & contributions welcome! ⭐
#Django #Python #PostgreSQL #MultiTenancy #RowLevelSecurity #OpenSource #WebDev #SaaS #InfoSec #Database
-
Your Django ORM protects tenant data. Your raw SQL doesn't. 😬
That's why I built django-rls-tenants — multitenancy powered by PostgreSQL Row-Level Security, enforced at the database level.
🔒 Every query is filtered — ORM, raw SQL, even dbshell
🚫 Missing tenant context? Zero rows returned, never a data leak
📦 Single schema, no connection routing headaches
⚡ Drop-in: one base model, one middleware, doneUnlike schema-based or ORM-rewriting approaches, RLS policies live in PostgreSQL itself. The database becomes your last line of defense — not your app code.
Supports Python 3.11+, Django 4.2–6.0, PostgreSQL 15+.
Just shipped v1.0.0 🚀
pip install django-rls-tenants
📖 Docs & source: https://github.com/dvoraj75/django-rls-tenants
Feedback, stars & contributions welcome! ⭐
#Django #Python #PostgreSQL #MultiTenancy #RowLevelSecurity #OpenSource #WebDev #SaaS #InfoSec #Database
-
🚀 Day 1 on django-rls-tenants — bringing true PostgreSQL Row-Level Security to Django multitenancy!
Instead of separate schemas or filtered querysets, this library leverages native RLS policies at the DB level to isolate tenant data automatically.
✅ Pros:
• True DB-level isolation — tenants can't bleed into each other
• Transparent to Django ORM — no custom managers needed
• Leaner than schema-per-tenant approaches
• Scales well for high tenant counts
• Security enforced even outside the app layer❌ Cons:
• PostgreSQL-only (no MySQL/SQLite support)
• RLS policies add complexity to migrations
• Debugging cross-tenant issues can be tricky
• Superuser connections bypass RLS — needs care
• Less community tooling than shared-schema approachesStill very early, but the foundations are solid. Would love feedback from anyone who's tackled multitenancy in Django before! 🐘🐍
#Django #PostgreSQL #Python #Multitenancy #RLS #RowLevelSecurity #OpenSource #WebDev #SaaS #DjangoORM #DevLife
-
🚀 Day 1 on django-rls-tenants — bringing true PostgreSQL Row-Level Security to Django multitenancy!
Instead of separate schemas or filtered querysets, this library leverages native RLS policies at the DB level to isolate tenant data automatically.
✅ Pros:
• True DB-level isolation — tenants can't bleed into each other
• Transparent to Django ORM — no custom managers needed
• Leaner than schema-per-tenant approaches
• Scales well for high tenant counts
• Security enforced even outside the app layer❌ Cons:
• PostgreSQL-only (no MySQL/SQLite support)
• RLS policies add complexity to migrations
• Debugging cross-tenant issues can be tricky
• Superuser connections bypass RLS — needs care
• Less community tooling than shared-schema approachesStill very early, but the foundations are solid. Would love feedback from anyone who's tackled multitenancy in Django before! 🐘🐍
#Django #PostgreSQL #Python #Multitenancy #RLS #RowLevelSecurity #OpenSource #WebDev #SaaS #DjangoORM #DevLife
-
Embedding policy enforcement directly into query engines gives AI agents fine‑grained, auditable control over data. Think row‑ and column‑level security, purpose‑binding, and seamless IAM integration—without sacrificing performance. Learn how this opens the path to trustworthy, open‑source AI. #PolicyEnforcement #QueryEngine #AIagents #RowLevelSecurity
🔗 https://aidailypost.com/news/embedding-policy-enforcement-query-engines-secures-ai-agents-data
-
Embedding policy enforcement directly into query engines gives AI agents fine‑grained, auditable control over data. Think row‑ and column‑level security, purpose‑binding, and seamless IAM integration—without sacrificing performance. Learn how this opens the path to trustworthy, open‑source AI. #PolicyEnforcement #QueryEngine #AIagents #RowLevelSecurity
🔗 https://aidailypost.com/news/embedding-policy-enforcement-query-engines-secures-ai-agents-data
-
Multi-Region Row Level Security in CockroachDB
https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
#HackerNews #MultiRegion #Security #CockroachDB #RowLevelSecurity #DataAccess
-
Multi-Region Row Level Security in CockroachDB
https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
#HackerNews #MultiRegion #Security #CockroachDB #RowLevelSecurity #DataAccess
-
Multi-Region Row Level Security in CockroachDB
https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
#HackerNews #MultiRegion #Security #CockroachDB #RowLevelSecurity #DataAccess
-
Multi-Region Row Level Security in CockroachDB
https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
#HackerNews #MultiRegion #Security #CockroachDB #RowLevelSecurity #DataAccess
-
Multi-Region Row Level Security in CockroachDB
https://www.cockroachlabs.com/blog/fine-grained-access-control-row-level-security/
#HackerNews #MultiRegion #Security #CockroachDB #RowLevelSecurity #DataAccess