In this article i will explain How to protect sensitive data in URLs using php. I Used simple 2 function for encode and decode urls to protect your private data. The below function will help you create protected web url for your next web application.

By using this snippets you can protect your important data in url from hackers. I have created demo platform so that you can see the example before download this complete script.

secure=url

Encrypting sensitive url

Below function will get url from web browser and encrypts to protect your data.

Decrypting and get the data from url

Below function will get url from web browser and decrypts into actual data. This will help you to use your data in your web application.

Download      Demo