Hello, on API I am currently working on, one of the requirements is, that auto increment primary keys should not be exposed through public API. The reason is not a security because access level is controlled on business logic but to prevent basic analysis like "how many resources is there etc...). What is your suggested solution for this?
I thought about keeping standard autoincreased primary keys (for performance and overall simplicity reasons) and add uuid column. Put index on it and in models use your uuid plugin. Then create with_uuid and with_uuid! dataset method to easily load models with uuid... What do you think? Thank you Petr -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/0e4d77c2-175f-4250-b7b7-a4bdc5ae3dcf%40googlegroups.com.
