Using Gpg To Encrypt A URL Line On CentOS 6 Additional Information

Home » CentOS » Using Gpg To Encrypt A URL Line On CentOS 6 Additional Information
CentOS 2 Comments

Sorry if I wasnt being clear enough….

it basically comes down to this.

I use an apache interface to my application, the URL line has parameters line mscript?value=2&something=4 etc..

I have a “crude” encoding (wouldnt even call it encryption) that I use right now.

I’d like to make that more robust. I started looking and found mcrypt
(which I mentioned in the first post)

But that did not compile from source, and is not available in the standard yum install. Other repos have it but that

may not be an option for me due to other reasons…. No problem.

So I started thinking about does GPG support something similiar like mcrypt? Easy way to encrypt a line for URL.

That is where my goal lies… Way to encrypt a URL string with what is
“standard” in CentOS 6.

Thanks,

Jerry

2 thoughts on - Using Gpg To Encrypt A URL Line On CentOS 6 Additional Information

  • Can you not just use HTTPS instead of HTTP? Also, it is preferable to send data in an HTTP(S) POST rather than as query parameters to a GET.

  • Maybe don’t give the client information that you don’t want them to see. Send them a session ID, and store your private information in a local session store. Every web framework should have a library for session data handling.