Jump to content

Encrypting Query Parameters


sprateek

Recommended Posts

Hello All,

 

I have created a web application. Unfortunately at development time I forgot to encrypt my query parameter. So generally my apply URL shown like :

 

http://mysite.com/myprofile.php?userId=2

 

So here any user can guess some other Ids because User Ids are not encrypted in URL. Is there any simple way to do it. I have more than 100 php pages and implementing ecry/decry logic on each page is time consuming So is there any way around?

 

Regards,

 

Prateek

Link to comment
https://forums.phpfreaks.com/topic/226385-encrypting-query-parameters/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.