Saturday, January 16, 2010

Is it possible to write a firewall/parental control program in VB.NET or Java? If so, how?

PLEASE don't suggest potential firewalls/parental control programs that I could use instead of writing one - if I wanted that, I would have asked that instead.


Why VB.NET or Java? They're the languages I'm most familiar with.


This is for Windows 7 Professional 64-bit, using Visual Studio 2008 (so .NET 2, 3 or 3.5), and Eclipse (using Java 6), if that makes any difference.Is it possible to write a firewall/parental control program in VB.NET or Java? If so, how?
Yes, It is kinda possible with those programs, but it is very hard and would take Months to make, possible years, especially if your doing it on your own.


Parental Control Programs are harder belive it or not because you have to access parts of Windows your not allowed to access.


The Firewall however is pointless to make because Windows has one, and to make the program you need to identify ALL potential risks. This means thousands of lines of code just for identifing a risk entering the computer, then you have to tell the program where the risks will come from.


There is just too much that you would need to do. Its pointless!!, trust me, I make programs everyday, wether its a small program like converting numbers into ASCII, Binary, Hexadecimal, or a big program such as a Custom made network controller that runs my whole Home Network of 12 computers LOL


But really, it is just a waste of time and effort.Is it possible to write a firewall/parental control program in VB.NET or Java? If so, how?
The easiest way to do this would be to simply write a browser based around the Internet Explorer HTML render. Just draw a webbrowser onto your form from the toolbox and add forward button, back button, navigation bar, etc.





Make sure to delete or hide every other web browser on the computer. I'm pretty sure that deleting the Internet Explorer EXE wouldn't interfere with the operating system or disable IE based browsing in your program. (';C:\program files\internet explorer\iexplore.exe';) The actual HTML/CSS/Javascript etc. rendering is done in various DLL files - but to be safe, rename it to something else, don't delete it, in case you need to undo the change.





Now simply catch the events for navigation and scan the text of the HTML documents.
You can indeed, why not?





Although it will take very long time, so I think no one is going to help you with it from start to end i afraid.





I suggest VisualStudio 2008
  • topical cream
  • No comments:

    Post a Comment