Hi
I am wondering if there is a field type in MySQL that auto generates a random (but unique) ID value of a set length?
The reason why I'm asking as it will form part of a URL, and I don't want malicious users to be able to guess possible other URLs.
Here's an example:
www.example.com/mysecreturl/?id=5
A malicious user could then look at this and go on to guess others:
www.example.com/mysecreturl/?id=5
www.example.com/mysecreturl/?id=6
www.example.com/mysecreturl/?id=7
...
So, I was wondering if MySQL has a field type that created a (almost hash like) value like so:
www.example.com/mysecreturl/?id=401463f8bf350b5593f715db424bb5d2
www.example.com/mysecreturl/?id=34819d7beeabb9260a5c854bc85b3e44
thus, making it much harder for a malicious user to guess.
Thanks,
Reeksy.