Since Firefox extensions (add-ons) have the power to do almost anything, many parents would like to protect their children from installing undesirable ones. I found a way to do this with CIS…
This adds Firefox extensions, which always have a file extension of .XPI, to the protected files:
CIS|Defense+|Common Tasks|My Protected Files|Groups…|click Executables|Add|Select From|Browse…|type *.xpi|Apply|Yes|Apply|Apply
Allow firefox downloads to a known folder and block otherwise (installs):
CIS|Defense+|Advanced|Computer Security Policy|double-click firefox.exe|Access Rights|Protected Files/Folders|Block|Modify…|Allowed Files/Folders|Add|Browse|type C:\Downloads*|Apply|Yes|OK|Apply|Apply|Apply
When the parent/administrator wants to install a Firefox extension, temporarily change to Allow:
CIS|Defense+|Advanced|Computer Security Policy|double-click firefox.exe|Access Rights|Protected Files/Folders|Allow|Apply|Apply|Apply
If Comodo fixes those bugs, the access rights can be set to Ask, without the need to change.
With Firefox’s access right blocked, the user will be able to download an .XPI file to the C:\Downloads\ folder, but double-clicking the .XPI in Explorer will produce a failed install alert from Firefox. If the user double-clicks a .XPI on a web page, Firefox will also produce a failed install alert. In both cases, a temp folder remains called extensions\staged-xpis\ in the Firefox profile, which can be deleted safely after closing Firefox.
My thanks to Comodo for making CIS so flexible to support customized security like this!
I realized that some observant reader is going to say that this effort is unnecessary if Opera or Google Chrome is used instead of Firefox, as they don’t support extensions. The main reason I use Firefox is because it supports an extension to block ads, which are responsible for a significant percentage of web threats. I also found ways to automatically block super cookies with Firefox. See https://forums.comodo.com/empty-t39123.0.html
I haven’t used Sandboxie, but that seems a potentially good strategy for the advanced user, who is also the administrator. But is Sandboxie good for a parent locking down the PC for their child using CIS Parental Control or for anyone using a limited user account (LUA) on XP?
Thanks for the detailed instructions. I’m glad to learn about another area of Firefox, and its good to have a way to do it with Firefox alone. I found the file all.js in the C:\Program Files\Mozilla Firefox\greprefs\ folder on my PC. But how would you temporarily allow extension installs?
For those who already have CIS installed, the CIS method looks easier. If Comodo fixes the bugs, then no CIS configuration changes are needed temporarily.
It would be more appropriate if bugs weren’t misreported in the first place… although it looks like that misrepresenting design behaviors (whenever in few cases reported as as bugs) is not disregarded as well (whereas it could be indication of misunderstanding if unintentional).
Apparently there is no fix for the above mentioned cases…
Overriding the deny permissions would be as simple as Drag&drop whereas there are also other simple ways, provided users do not neglect them, whenever paranoid mode would be a perfect match for those willing to outsmart safelisted auto-learning.
Although apparently even Firefox extensions updates could theoretically be misrepresented, it would be a moot point to prevent Firefox extension to address the possibility of a compromised network whereas it looks instrumental to provide a need.
Sandboxie is awesome. But you don’t need parent lock down features. If you have your browser forced to always start Sandboxed then no changes can ever be made to your browser unless you run them outside of a Sandbox. Its very easy. More easy then what your suggesting.
If I understand correctly, Sandboxie doesn’t prevent installing a Firefox extension by the user – it makes Firefox effectively forget changes when Firefox is closed. This allows a user to install a malicious extension and get their identity stolen. Also, the inexperienced user is not able to save their bookmarks update between sessions.
No you are completely wrong. Please read the Sandboxie site. It tells you everything. And how did we go from Extensions to Identity theft? If you browse under a Sandbox then any changes you make such as extensions or themes will never be installed cause they never actually did get installed. Think of Sandboxie as a virtual machine. Try it yourself if you don’t believe me. You can also install programs under a sandbox. As soon as you empty the sandbox then the program is gone cause it never really got installed. It was never written to the hard drive. Yes bookmarks can be saved. There is the option to do so in Sandboxie settings.
I did spend a few hours reading the Sandboxie site. My understanding is that, from the (inexperienced) user’s point of view, they can install an extension under Sandboxie. But when they restart Firefox (new sandbox), the new extension is gone.
I used identity theft (phishing, etc.) as an example of possible results of malicious extensions – even those that are not permanently installed (because of a sandbox).
The topic of this thread is to help parents and others prevent Firefox installs by a child or another inexperienced user. Someone who investigates the Comodo forum to find this thread likely is already familiar with CIS and wants to learn more about it. I don’t understand how adding Sandboxie to CIS is simpler than the CIS configuration I suggested for this audience. I suspect that learning Sandboxie and CIS takes longer than only learning CIS, especially since new versions of Firefox may require Sandboxie updates and investigation. Also, Sandboxie requires extra memory and CPU resources when supplementing CIS than CIS alone, which I cannot afford on one of my PCs. Finally, other posts in this forum mention unresolved security flaws and/or bugs with Sandboxie. For an experienced user that doesn’t share their PC, I understand Sandboxie’s appeal.
WOW…you are completely not reading the site. Sandboxie is free. It takes 2 seconds to install it and by default needs no tweaking unlike CIS. Also you are not adding Sandboxie to CIS. Your adding it to your browser. To install CIS and configure like your saying will take well over 15 minutes and some knowledge. A newbie can install Sandboxie within 2-3 secs and be under way. I have ran Sandboxie successfully with CIS and Online Armor. It also works with Outpost. You really do not understand what the term “sandboxed” means. Heck there are tons of people who use Sandboxie as there only means of security. BTW I have been a Firefox users for well over 5 years now and I have never seen an extension that requires my personally information.