---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=neon&tag=security"
---

# Posts

Filtered by topics: Security, source: Neon.

Posts 1–7 of 7, page 1 of 1, newest first.

## 2026-03-05

- [Ctrl-C in psql gives me the heebie-jeebies](https://swe.quest/articles/ctrl-c-in-psql-gives-me-the-heebie-jeebies-e2b63a9641ee547d.md): Neon · 2026-03-05 · Medium · 6 min read · PostgreSQL, Networking, Security, Cryptography
  Postgres cancels queries via a separate CancelRequest connection identified only by a process ID and secret key, and psql still sends it in plaintext even when the main connection uses strict TLS, because libpq's encrypted cancel functions (added in Postgres 17) aren't signal-safe for psql yet.

## 2025-06-25

- [Why Postgres needs better connection security defaults](https://swe.quest/articles/why-postgres-needs-better-connection-security-defaults-d78d4b6f863ed01c.md): Neon · 2025-06-25 · Medium · 8 min read · PostgreSQL, Cryptography, Identity & auth, Security
  Postgres's widely used sslmode=require encrypts connections but never authenticates the server, leaving them open to trivial MITM attacks via a self-signed certificate and DNS poisoning.

## 2025-06-13

- [Handling Protected Health Information Under HIPAA: Best Practices for Developers](https://swe.quest/articles/handling-protected-health-information-under-hipaa-best-practices-for-developers-d635ed48cb899fa8.md): Neon · 2025-06-13 · Medium · 11 min read · Privacy, Security, PostgreSQL
  Any health data linkable to a person is Protected Health Information under HIPAA, including incidental data such as IP addresses logged during telehealth visits, ZIP codes in dashboards, or names in query logs and staging tables.

## 2025-05-28

- [The Difference Between Postgres Logging and PGAudit](https://swe.quest/articles/the-difference-between-postgres-logging-and-pgaudit-3a35dae235b4a4b7.md): Neon · 2025-05-28 · Medium · 8 min read · PostgreSQL, Privacy, Security, Observability
  Postgres's built-in logging is designed for operational monitoring and troubleshooting, while PGAudit produces structured audit logs for compliance regimes like HIPAA, SOX and PCI DSS.

## 2024-11-15

- [Is Postgres RLS for Everything and Everyone?](https://swe.quest/articles/is-postgres-rls-for-everything-and-everyone-1df08667813a2c82.md): Neon · 2024-11-15 · Medium · 4 min read · PostgreSQL, Identity & auth, Multi-tenancy, Security
  Postgres row-level security is a poor fit for expressing an entire app's authorization model.

## 2024-11-07

- [Is “SQL from the frontend” viable?](https://swe.quest/articles/is-sql-from-the-frontend-viable-7fa2effc8f7be530.md): Neon · 2024-11-07 · Easy · 3 min read · PostgreSQL, Identity & auth, System design, Security
  Letting the frontend query the database directly, via tools like PostgREST or Firebase, can sharply speed up development by removing backend abstraction layers and frontend/backend team dependencies, which makes it attractive for prototypes and many apps.

## 2023-10-05

- [MITM attacks are easier to avoid with psql (Postgres) 16](https://swe.quest/articles/mitm-attacks-are-easier-to-avoid-with-psql-postgres-16-ea4ca88c3d78880f.md): Neon · 2023-10-05 · Medium · 8 min read · PostgreSQL, Cryptography, Security, Identity & auth
  Postgres 16's psql adds \`sslrootcert=system\`, which uses the OS's trusted CA store and implies \`sslmode=verify-full\`.

Same list as RSS: [https://swe.quest/feed.xml?source=neon&tag=security](https://swe.quest/feed.xml?source=neon&tag=security). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
