Hello,
I need your advice about the following situation.
First, it's safe to use JRequest for prefilters? If not, how can i retrieve the information from url?
Second, what is the best way to secure a form in order to allow the Public group to edit the information (only two fields will be available for editing for public) but only for the users who are receiving a link with a token in their email address?
The token contain 50 random characters, i can increase the length to a bigger value;
the link sent into email will look like this:
I use two prefilters in order to keep the info available only for the users that are receiving this email. The prefilters are the following, applied to the Public group:
Thank you
I need your advice about the following situation.
First, it's safe to use JRequest for prefilters? If not, how can i retrieve the information from url?
Second, what is the best way to secure a form in order to allow the Public group to edit the information (only two fields will be available for editing for public) but only for the users who are receiving a link with a token in their email address?
The token contain 50 random characters, i can increase the length to a bigger value;
the link sent into email will look like this:
Code:
http://www.mywebsite.com/index.php?option=com_fabrik&view=form&formid=16&listid=16&rowid=16&token=BTfnfADpJrthic4r8d8LbcL07HfsVm29hP20m6zQMCNGjwXre7
I use two prefilters in order to keep the info available only for the users that are receiving this email. The prefilters are the following, applied to the Public group:
Code:
$token =JRequest::getVar('token');
return $token;
$id = JRequest::getVar('rowid');
return $id;
Thank you