▲ | bricss 12 hours ago | ||||||||||||||||||||||||||||||||||
If knowing IDs has a negative impact on security, then application system design is probably a trash. | |||||||||||||||||||||||||||||||||||
▲ | dietr1ch 12 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
The actual concern is privacy. Privacy wise, - Knowing sequential IDs leaks the rate of creation and amount of said entity which can translate in number of customers or rate of sales. - Knowing timed IDs leaks activity patterns. This gets worse as you cross reference data. - Random IDs reveal nothing. --- Security wise, - Sequential IDs can be guessed. Performance wise, - Sequential IDs may result in self-inflicted hotspots.
- Random IDs lends themselves to sharding, but make indexing, column-compression, and maintaining order after inserts hard. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | bearjaws 12 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
Yeah I am trying to imagine a universe where having the creation time of an item breaks your security model and every path I go down is that the system has terrible security. | |||||||||||||||||||||||||||||||||||
|