# Encrypt the url parameter

**URL:** <https://forum.radsystems.io/t/encrypt-the-url-parameter/2030>\
**Category:** PHPRad Classic\
**Created:** [March 20, 2024, 3:00am UTC](https://forum.radsystems.io/t/encrypt-the-url-parameter/2030 "2024-03-20T03:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hendryres](https://forum.radsystems.io/user_avatar/forum.radsystems.io/hendryres/32/1109_2.png) [@hendryres](https://forum.radsystems.io/u/hendryres)\
**Post date:** [March 20, 2024, 3:00am UTC](https://forum.radsystems.io/t/encrypt-the-url-parameter/2030/1 "2024-03-20T03:00:04Z")

</div>

How to encrypt the id parameter in the url when the view and edit events?

For example the original url  
[http://localhost:8050/workingpermit/edit/4](http://localhost:8050/workingpermit/edit/4)

becomes  
[http://localhost:8050/workingpermit/edit/](http://localhost:8050/workingpermit/edit/){encryption code}
