Filtering Internet traffic
Posted: Tue Jun 19, 2018 9:21 am
Hello everybody
I went back to my old project, which I never finished ...
So here it is, the goal is to create software that restricts computer access to the Internet and only allows certain sites and programs. To be more precise, this program is intended for secretaries in the office, and must allow them Microsoft Outlook (to see the mails), and some websites. The job site, the Gmail site, Wikipedia, and that's it.
Last year I did a lot of work on it, I made a program that use the Windows firewall, so as to block the Internet of all programs on the computer, and only allow Microsoft Outlook and Google Chrome, and in Google Chrome I put a proxy that allows some sites, and it worked pretty well.
The problem is that if the ESET antivirus is installed on the computer, or any other antivirus that manages the firewall, the entire computer opens to the Internet, and the settings of the Windows firewall no longer work. In addition I prefer not to use the windows firewall, but something native, that I combine in my program (since one can always make changes in the Windows firewall, and my program must always check that nothing has changed ).
In short, I saw the work of JHPJHP about WinDivert, it seems to suit me, but the problem is that it does not manage HTTPS sites.
My question is, is there a way to make a program that would run all the time in background, and allow or deny internet connections, based on a white list of domains? it's not about making changes to sites, just about allowing or denying connections.
Otherwise, another solution would be to find a way to block the internet connection of programs, without going through the windows Firewall.
A third option would be to find a way to put the proxy for the entire computer. but for the moment I only managed to put it on browsers (and not on uTorrent, for example)
I specify that the rights of administrators are not a problem.
Thank you
I went back to my old project, which I never finished ...
So here it is, the goal is to create software that restricts computer access to the Internet and only allows certain sites and programs. To be more precise, this program is intended for secretaries in the office, and must allow them Microsoft Outlook (to see the mails), and some websites. The job site, the Gmail site, Wikipedia, and that's it.
Last year I did a lot of work on it, I made a program that use the Windows firewall, so as to block the Internet of all programs on the computer, and only allow Microsoft Outlook and Google Chrome, and in Google Chrome I put a proxy that allows some sites, and it worked pretty well.
The problem is that if the ESET antivirus is installed on the computer, or any other antivirus that manages the firewall, the entire computer opens to the Internet, and the settings of the Windows firewall no longer work. In addition I prefer not to use the windows firewall, but something native, that I combine in my program (since one can always make changes in the Windows firewall, and my program must always check that nothing has changed ).
In short, I saw the work of JHPJHP about WinDivert, it seems to suit me, but the problem is that it does not manage HTTPS sites.
My question is, is there a way to make a program that would run all the time in background, and allow or deny internet connections, based on a white list of domains? it's not about making changes to sites, just about allowing or denying connections.
Otherwise, another solution would be to find a way to block the internet connection of programs, without going through the windows Firewall.
A third option would be to find a way to put the proxy for the entire computer. but for the moment I only managed to put it on browsers (and not on uTorrent, for example)
I specify that the rights of administrators are not a problem.
Thank you