How to encrypt & decrypt IDs in a URL?

How to encrypt & decrypt IDs in a URL?

  
Hello there.  Some of our screens require input parameters in the form of an employee ID and as a result, these can be changed in the URL and allow people to "impersonate" other users.

How would I go about encrypting this input parameter when it's sent to the page and then decrypt the parameter in the preparation of the destination so it can still function as needed without being able to be changed in the URL?
Use the Crypto component
http://www.outsystems.com/forge/component-discussions/437/CryptoAPI

Is that what you mean, Gerry?
You can probably use that, but there is one already built into the platform that might be good enough. In Service Studio, open your References and it should be in there.



Am I looking for it in the wrong spot?  A search for it has also produced 0 results.
My mistake I guess, I checked my cloud account and it's not there. It's from an Outsystems app from V5 or V6. I've attached it here. Or otherwise use Ricardo's on the Forge.
Thank you for the replies, Gerry!

Hi,
I want to use Crypto API for encryption and decryption, could you please let me know how to use it?
What should be the password to use?


Regards,
Sneha Sawant

Matt Kalafut wrote:

Hello there.  Some of our screens require input parameters in the form of an employee ID and as a result, these can be changed in the URL and allow people to "impersonate" other users.

How would I go about encrypting this input parameter when it's sent to the page and then decrypt the parameter in the preparation of the destination so it can still function as needed without being able to be changed in the URL?

Hi Matt,
could you please let me know how did you use this encryption and decryption what password we need to pass.

appreciate your help.

Thanks and regards,

Sneha Sawant