We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent access to System Drives

more options

Hello Guys

Is there a way to prevent access to System drive using Firefox our users have found that by typing C: and hit enter it returns to file:///C:/

when they do that they can browse through all files and we'd like to prevent that from happening I'm attaching an image for your reference

I've seen a solution in previous versions of Firefox but not in latest versions I'm currently using v48.0.2

Att. Leo

Hello Guys Is there a way to prevent access to System drive using Firefox our users have found that by typing C: and hit enter it returns to file:///C:/ when they do that they can browse through all files and we'd like to prevent that from happening I'm attaching an image for your reference I've seen a solution in previous versions of Firefox but not in latest versions I'm currently using v48.0.2 Att. Leo

All Replies (3)

more options

Leo said

I've seen a solution in previous versions of Firefox but not in latest versions I'm currently using v48.0.2

Because the earlier solution used an extension and it has not been signed so it won't run in Firefox 48??

This blog post is old, and based on ideas dating back to 2004, but describes one possible approach: https://nitishkumar.net/2010/06/23/restricting-browsing-with-mozilla-firefox-for-business-scenario/

In case it's all unfamiliar to you: http://kb.mozillazine.org/Locking_preferences

more options

Thank you for the quick response I'm unable to find "Chrome" Directory on this version of Firefox

C:\Program Files\Mozilla Firefox\chrome\browser.jar

Unfortunately I cant do what they want me to do on that tutorial :(

more options

Sorry, I didn't read that article carefully enough. You don't want to hack Firefox's program files, you want to find an equivalent technique using the lock file method.

Maybe you could extract the code from this old extension, but I guess test it first in Firefox 45.3.0esr or in Developer Edition (Firefox 48 and Firefox beta will not run unsigned extensions): https://mike.kaply.com/2014/09/23/fileblock/