Is there a recommendation for creating a unique identifiers to prevent a bot from scraping data? I.e. today I can increment member count by 1 to find each member; the add-on I'm developing I would like to prevent such numbers from being predictable to prevent scraping of content.
I have been looking at UUIDv4, but the problem is MariaDB uses time based UUIDs, which while are unique are less random, and there's no standard PHP library for going between UUID and not. I'm also torn on using varchar(36) vs char(36) vs Binary(16). I did see there's \XF::generateRandomString(36); should I use this with a uniqueKey on the column?
Cheers!
I have been looking at UUIDv4, but the problem is MariaDB uses time based UUIDs, which while are unique are less random, and there's no standard PHP library for going between UUID and not. I'm also torn on using varchar(36) vs char(36) vs Binary(16). I did see there's \XF::generateRandomString(36); should I use this with a uniqueKey on the column?
Cheers!