---
title: "Discussion on \"Exposing sequential IDs is bad! Here is how to avoid it.\" | Hashnode"
description: "Discussion on \"Exposing sequential IDs is bad! Here is how to avoid it.\". Article originally posted on my personal blog: How not to expose your primary keys\nWhen working on LOGaritmical, I initially had my primary keys defined as UUIDs. I took this approach for two reasons: security and to avoid collisions even when there ..."
url: "https://hashnode.com/posts/exposing-sequential-ids-is-bad-here-is-how-to-avoid-it/6116794813a99e48922eebf3"
---

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

Discussion

# [Exposing sequential IDs is bad! Here is how to avoid it.](https://ppopescu.hashnode.dev/exposing-sequential-ids-is-bad-here-is-how-to-avoid-it?utm_source=hashnode&utm_medium=feed)

Article originally posted on my personal blog: How not to expose your primary keys When working on LOGaritmical, I initially had my primary keys defined as UUIDs. I took this approach for two reasons: security and to avoid collisions even when there ...

Aug 13, 2021 · 4 min read · ppopescu.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Petre Popescu](https://hashnode.com/@ppopescu)

@ppopescu · Timisoara, Romania

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

Just another developer?

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
