Click here to Skip to main content
15,790,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a web filter using visual c++ and windivert library.

I am able to implement HTTP website filter and also able to send block message back to client browser if website is blacklisted. Now if i add HTTPS Site to blacklist then my application blocks the site, but my block message response to browser is not displayed instead browsers default "Connection Problem" message is displayed.

I am sending HTTP dummy packet to client browser with HTTP 200 status code and block page in HTML format in response if website is blacklisted.

I know that HTTPS uses encryption and so my plain text response will not work, so i want to know how can i archive this, any suggestion regarding topic also appreciated.

anyway this is network firewall and will be used in server PC.

Thank you very much for your help.
Richard MacCutchan 25-Nov-15 11:23am    
Google for HTTPS and you will find lots of information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900