How can I Encrypt the HTML in an SSL link, so it is not legible?

Avatar
  • updated
  • Answered

I'm creating a hard coded page where I add links to different pages, including a library and a remote shopping cart. I do not want anyone to see or be able to browse the actual code of the link itself. Normally that is a rather easy thing to do, follow links on remote servers and pull up images and source code. I want to prevent someone else from doing it to me. Yes I know I am using SSL (https://mydomain.com) so my data is safe. I just do not want anyone to see the link at all. Does IMH have a tool for this?

Avatar
barryg

Wait a sec -- you are not talking about the old <Form> </Form> insert functionalities -- which in fact always precceed a nesting of hidden links and receiving address? etc etc -- I that what those old statements do? OMG I have used them so many times in the 1990s & very early 2000s and never visualized that was it. True? Is this what you meant ?

Avatar
barryg

I think you are on to something, John Paul. re your last reply, can you give me an example (or direct me to same) of a form of php code which will run a "hidden script to handle the redirection" ?

Avatar
IMH Support Agent 1
Quote from barryg

Got it, John Paul. Then what exactly does Paypal do -- after they encrypt the code of the financial transaction (https?) -- but then turning everything into a blurb of letters, numbers etc.? I forget what the process is called -- but that is what I want to do. Paypal Buy Now buttons are embedded with the https info to dial home -- but all we see of the code is the same mishmash I am describing?


Perhaps I am making things too complex? Perhaps all I am looking for is a kind of Hash generator which is performed to encrypt something, dials home, decrypted and you see your selected item in the paypal shopping cart. Is that not what happens?


BUT still, same question arises - how does the browser see and translate it, as you describe? it would have to be able to decrypt, correct?

If True, What is the process called, which is invoked by the browser?

I thank you much.

BarryG

PayPal's "Buy Now" buttons essentially redirect you to secure PayPal servers where the monetary transactions are most likely hashed encrypted and processed. If you want to process monetary transactions on your website, you must also make sure your server is PCI Compliant

But, I recommend using a payment gateway such as Authorize.net or Paypal, since they handle the server security and complete the transactions.

Avatar
barryg

Got it, John Paul. Then what exactly does Paypal do -- after they encrypt the code of the financial transaction (https?) -- but then turning everything into a blurb of letters, numbers etc.? I forget what the process is called -- but that is what I want to do. Paypal Buy Now buttons are embedded with the https info to dial home -- but all we see of the code is the same mishmash I am describing?


Perhaps I am making things too complex? Perhaps all I am looking for is a kind of Hash generator which is performed to encrypt something, dials home, decrypted and you see your selected item in the paypal shopping cart. Is that not what happens?


BUT still, same question arises - how does the browser see and translate it, as you describe? it would have to be able to decrypt, correct?

If True, What is the process called, which is invoked by the browser?

I thank you much.

BarryG

Avatar
IMH Support Agent 1
  • Answered

Hello barryg,

Thank you for contacting us about encrypting HTML in a link. I'm not aware of a good way to accomplish this since HTML is run (or compiled) by the browser. The visitor's browser essentially needs the HTML so it can display the page.

I have seen this handled with CSS or PHP before. 

For example, you can code an index.php file to run a hidden script that handles the redirection.

Thank you,

John-Paul