搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

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

所有回覆 (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/