6 years ago
7
Topic

Hi

is there a generic way to encrypt urls please ? With the GDPR we no longer can have personnal data in the URLs.

For example it is illegal to have https://mydomain.com/directory/john.doe@org.corp 

Instead of modifying seblod lists is there a way to automatically encrypt parts of the urls ?

thanks

cyril

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
0
Level 1

You could use beforeRender to modify links on the list I guess, the same, just in reverse, when url is received.

6 years ago
2
Level 1

Thanks Klas

but it may be not as easy when on the other side you have live values that retrieve values from the URL. If they are encrypted the live value plugins won't decode 

cyril

215 Posts
iliil
6 years ago
1
Level 2

Hi

For receiving encrypted url variables (e.g. email addresses ) I am using SEBLOD standard URL variable live value plugin which does decode Base64 encrypted variables. 

Michal

 

6 years ago
0
Level 3

Hi Michal

thanks for the info !

Do you confirm the URL variable live plugin understands a encrypted variable with the base64_encode() function ?


thanks


cyril

215 Posts
iliil
6 years ago
2
Level 1

Yes I am using it often, you have to enable base64 encryption in the live plugin config. 

Michal

6 years ago
1
Level 2

thanks a lot

cyril

4229 Posts
Kadministrator
6 years ago
0
Level 3

Just be warned that base64 is not an encryption, it is just another format for text that can be read by anyone. To get string encrytped and decrypted you wold need to run it trough some real encoding / decoding script, Joomla has built-in Crypt class to do that.

Get a Book for SEBLOD