Block entire folders in Windows Firewall
Folder Firewall Blocker is a free open source program for Windows devices that lets you block inbound and outgoing connections of every executable file in a specified folder.
One of the shortcomings of the Windows Firewall, and the majority of firewall programs for the matter for Windows, is that you cannot specify paths to block all executable files stored under that path from inbound or outbound Internet connections.
If you wanted to block all programs in the user folder or temporary folder for instance, you would have to specify them one by one in Windows Firewall.
If you don't want programs under a certain path to connect to the Internet, then you have only a couple of options to prevent that.
You can block all connections and whitelist those that you require, use a program like Windows Firewall Notifier that display notifications when programs try to connect to the Internet, or use Folder Firewall Blocker to block all executable files in a folder.
Folder Firewall Blocker
Folder Firewall Blocker is a simple program. All you need to do to make use of it is to launch it, click on folder to select a local folder, and then on the block button to block all executable files in that folder.
A prompt is displayed when you hit the block button that acts as a confirmation. Hit yes to proceed or no to cancel the operation.
Folder Firewall Blocker adds rules for every .exe program in the folder to Windows Firewall. It highlights that in the interface while it is adding the rules. You may verify this by checking the inbound or outbound rules in Windows Firewall as well.
The latest version of Folder Firewall Blocker supports .exe files and other executable file types: com, bat, cmd, vbs, vbe, js, jse, wsf, wsh, msc, scr, msi, cpl, ocx, dll, drv and sys.
As great as the option is to block connections of every executable file in a folder, its use is limited.
The program has several shortcomings that prevent it from reaching a wider audience:
It supports only .exe files and not other executable file types.Fixed in recent versions that support multiple executable file types.
It won't parse subfolders, only the root folder.Fixed in recent versions of the application. A new "scan subfolders" option is now available.
- It won't block future additions to the folder.
While you may be able to work around the second and third issue, there is nothing that you can do about the first.
You may simply run the program on each folder separately. While that works to get all exe files blocked, it may take a long time depending on the folder structure. If you wanted to block all user profile executable files from connecting to the Internet, you'd spend a long time running Folder Firewall Blocker on all folders under the path.
You can run the program regularly to cover new executable files, but the protection won't be realtime.
Folder Firewall Blocker is a promising program, especially after recent updates that introduce support for more executable file types and subfolder scanning to the application.
We have adjusted the rating of the program based on the updates as it improved the program by a lot.
Now You: Which firewall do you use, and why?
TinyWall is the best.
I don’t understand why you review “Folder Firewall Blocker” if it really has those shortcomings as you listed. It’s totally useless.. and even dangerous if the user doesn’t understand the shortcomings.
I have tiny wall and it WILL NOT allow me to block Adobe programs period. Also, the above program didn’t block the Adobe folder whatsoever. Each instance was shown hitting tinywall and swiftly establishing connections it shouldn’t have.
I’m currently patching FFB to block:
If there are any I am missing in this list, tell me and I will add them!
.SCR, .MSI, .CPL, .OCX, perhaps even .DLL, .DRV, and .SYS
Done 1.1.0 is live. :)
Missing .dat. I already see .dat using internet
Already block all outgoing traffic by default using Sphinx Windows Firewall Control. It prompts and shows a notification for when some apps wants to connect. You just click Allow as required.
thanks for the tip!
together with this .bat file, they will ease the pain of using Windows Firewall…
You did mention
“While you may be able to work around the second and third issue, there is nothing that you can do about the first”
Although i had never used this program, but i think first point could also have workaround like ‘test.txt’ in windows can be changed to ‘test.exe’
Ran Folder Firewall Blocker 22.214.171.124 multiple times on Windows 10.
The program correctly finds the .exe, .dll, &c. files in the folder & subfolders and announces success.
Yet no new firewall rules are ever generated, as a subsequent check shows.
What can I try to make it work? Thanks.
worked perfectly.. Thanks for the recommendation..
when add special type files like ini cfg pak bin etc nex time the list restore to default no custom type files i hope you fix it to save added files type next time they are there thankyou ^^
what happened to ffb links? please check.
It the project dead? There are no files on its SourceForge page. Too bad. I needed this to run Chinese programs.
@Murderer Nitesh, latest ‘Folder Firewall Blocke’r version (as far as i know) which is 1.2.1 is still available at Softpedia [https://www.softpedia.com/get/Security/Security-Related/Folder-Firewall-Blocker.shtml]
Worked fine! Very usefull.