Question Locked

Disable file:// access in MS Edge

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for a way to disable access to view files in MS Edge using the file:// protocol. We have an environment we need to highly restrict. Users have already been blocked from accessing or reading local or unc paths in File Explorer; however, those same user accounts are able to view the local and unc directories in MS Edge using File://

I have looked over every policy setting in the edge.admx files and nothing appears to disable this ability. Nor can I find anything online about how to disable it.

5 replies

by kees_b edited

I see 2 methods, but I'm afraid both aren't what you want:
1. Don't allow read access to files you don't want the user to be able to read using the standard security options in the file system.
2. Make your own browser, based on open source chromium, that doesn't support file:// (nor maybe ftp://, http:// and other protocols you consider unsecure).

by aweight

I figured it out. Very simple really, just add it to the block url list GPO.

In the MS Edge GPO policies, use the "Block access to a list of URLs" policy and add the entry file://c:\

Then it blocks the access to navigate anywhere in the C:\ drive.

by rproffitt edited

I don't see how this would work in say the usual Home versions of Windows or what happens when I open an elevated command prompt.

Or even better when I boot off USB to look over the C drive.

I take it there's a lot of missing detail such as these are PCs that you prepare for use in an office?

by kees_b edited

That's an elegant solution.

The nice thing is that you, when logged on as system manager, can use CMD or Powershell to define another letter to access the same drive (see JOIN or SUBST) and access all files on it in Edge. I assume ordinary users don't have access to CMD and can't run a batch file in a mail.

by iqlanceusa.krunal edited

Figured this out with an answer from another forum. Just add file://c:\ to the Block URL list in Edge GPO policies.

This discussion is closed to new replies.