Reputation: 11
I’m making a browser using QWebView and I want to achieve the following things:
Browser——->sends request to server——->server responds with encrypted html——->browser decrypts the html and shows it.
But the problem is I cannot figure out how to decrypt the received html before viewing it. I haven’t found any signals or virtual functions that I could override.
I even tried changing the QNetworkAccessManager and then tried tampering with the QNetworkReply, but the QNetworkReply is readonly.
So has anyone got a solution to this?
Upvotes: 1
Views: 206
Reputation: 944321
Make the request over HTTPS and let SSL handle all the encryption for you.
Upvotes: 1