This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

How can we block file:/// protocol to prevent any access to local disk drive from the firefox browser?

more options

When type in address bar c:\ I can have access my local disk and I would like deny this type of access.

When type in address bar c:\ I can have access my local disk and I would like deny this type of access.

All Replies (2)

more options

Maybe run Firefox in a restricted sandbox environment that doesn't allow access to local files. You would have to allow read access to font folders and some other important folders.

more options

Unfortunately, there is not yet an Enterprise policy for this.

Or more specifically, the WebsiteFilter policy doesn't yet handle the file:// protocol. It's on the "to do" list.

See: https://support.mozilla.org/questions/1270774