Sign in to follow this  

Embeding a Web Browser in C++

This topic is 4089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wanted to make the control program for my C++ program to be a mini-web server. However, if the user has the Flash player (and presumably other plug-ins) installed, a properly designed Flash movie could attack the server by using sockets. If I could embed my own browser, I could add a variable in the request string, thus verifying the client (only the client could read the file system). Big problem here is getting a browser that is free to embed, works, and isn’t hard to setup *cough* Mozilla.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I really didn't understand what exactly you are trying to do WHY.
However, embedding a browser can be as simple as embedding the corresponding control from a browser such MSIE on Win32. This can be done with very few lines of code (codeproject/codeguru) and you'll have browser functionality embedded in your your application.

Share this post


Link to post
Share on other sites
Not only that, anybody with rudimentary ability in packet sniffing would be able to read the value that your browser appends, and then impersonate it, thus opening up the server again to exploits.

Share this post


Link to post
Share on other sites

This topic is 4089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this