Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I also think we can use a combination of a PID - persistent ID (I always thought it was public) and an auto-increment integer ID. Having a unique key helps when migrating data between systems or referencing a piece of data in a different system. Also, using serial IDs in URLs and APIs can reveal sensitive information, e.g. how many items there are in the database.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: