Best practice: How to obfucate key in URL? Use AUTOINT vs. GUID, UUID, SequentialGUID?
Good morning,
Up to now,
I use in almost all tables an autoincrementing INT as my primary key.
In my opinion this is perfectly OK for supporting tables, but I don’t want to
have an easy guessable key transmitted and exposed via the URL to the user. I
don’t want the users see, how many items for example are in parts of my
database. Prevent them from editing the key in the URL by counting up, for
example.
What is
Best Practice regarding cfwheels to prevent this?
Change INT (autoincrement) to
1. GUID as primary key, created by SQL server
2. UUID created by the app via coldfusion
3. use INT internally as primary key, but have a second key (GUID or UUID) in another row and use this key for URLs, has it exposed to the public?--To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/V1QE6yDr6CcJ.
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/FqJRp-0s30gJ.
--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/S4yoJN-Dp6IJ.