Incremental
Member
Hi,
I have a list with users not created as Joomla users.
I would like to allow them to access ONLY to their informations, sending them an URL by mail (list email plugin)
As ID are auto-increments, I do not want that some folks try to access other records, changing the ID in the URL sent by mail.
I think to something like :
Does somebody has an idea for an algorithm changing simple ID in a long key ?
I have a list with users not created as Joomla users.
I would like to allow them to access ONLY to their informations, sending them an URL by mail (list email plugin)
As ID are auto-increments, I do not want that some folks try to access other records, changing the ID in the URL sent by mail.
I think to something like :
- compute the key for sending it by mail in an URL, instead of the ID,
- receive it in a PHP form script for 'reverse compute' the ID to the right record in the DB
Does somebody has an idea for an algorithm changing simple ID in a long key ?