---
title: "Discussion on \"Why a Postgres View Can Silently Bypass Row-Level Security\" | Hashnode"
description: "Discussion on \"Why a Postgres View Can Silently Bypass Row-Level Security\". Postgres view leaked cross-tenant data by checking row-level security as its owner, not the querying user. What security_invoker fixes, proven live."
url: "https://hashnode.com/posts/why-a-postgres-view-can-silently-bypass-row-level-security/6ab5067b5a3b42b29cba5654"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why a Postgres View Can Silently Bypass Row-Level Security](https://uduakukpong.hashnode.dev/why-a-postgres-view-can-silently-bypass-row-level-security?utm_source=hashnode&utm_medium=feed)

Postgres view leaked cross-tenant data by checking row-level security as its owner, not the querying user. What security\_invoker fixes, proven live.

Sep 24 · 9 min read · uduakukpong.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#security](https://hashnode.com/tag/security)
-   [#databases](https://hashnode.com/tag/databases)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Uduak Ukpong](https://hashnode.com/@flhlxix)

@flhlxix · Lagos, Nigeria

  
[View profile](https://hashnode.com/@flhlxix)

Writing up on the engineering problems I actually hit in production.

I'm a full-stack Developer working across React, Next.js, NestJS, and PostgreSQL.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
