Sign in to follow this  
gandolf1212

Embeding a Web Browser in C++

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

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