close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to pass encrypted URL parameter and decrypt them?

Thread began 7/19/2022 11:03 am by tony | Last modified 7/19/2022 12:17 pm by Ray Borduin | 117 views | 3 replies |

tony

How to pass encrypted URL parameter and decrypt them?

Hello all,
is there a way to pass an encrypted URL parameter to another page.
And then decrypt it on the destination page?
I can't find a right way to do this.
Something that allow me to display the URL this way: http://www.mywebsite.php/destination_page.php?up1=hr34ghr3uy4rgu3gu4rg3urgu3yg4ruyg34&up2=iu134yiu3y45iou3y45iu3y24oui5y23ui54y3iu.
So that the user can see the URL parameter but can't discover what it is.
TIA
tony

Sign in to reply to this post

Ray BorduinWebAssist

How strong of encryption do you want? The easiest way is to use something like base64_encode() and base64_decode(). That will make it look obscure, but that isn't very secure if you are genuinely worried about hackers. The more secure route would be to use something like openssl_encrypt: https://www.php.net/manual/en/function.openssl-encrypt.php, which has a variety of encryption types that include keyed encryption that would not be easily decoded without the key.

Sign in to reply to this post
Did this help? Tips are appreciated...

tony

Thanks Ray,
I just want to hide some data. I don't need strong protection.
Thanks.
Tony

Sign in to reply to this post

Ray BorduinWebAssist

Just use base64_encode() and base64_decode() then.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...