Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This file is in a location outside your local network

If I launch my application from one network folder, I don't get a dialog.

However, if I copy my application to a different network folder, and try to launch it, I get the "Open File - Security Warning" dialog displayed below:

Open File - Security Warning

If you Google:

  • Open File - Security Warning dialog box or
  • This file is in a location outside your local network

you'll come across pages that talk about Intranet versus Internet zones, registry edits, Group Policy changes, or even Microsoft Access.

I don't want to deal with any of that if possible. I need the solution to work across 100's of computers that will be launching this application from the network, and I can't make a system change to each of those computers.

1. Why am I getting that dialog if I launch from certain network folders but not others?

2. How can I prevent that dialog from popping up?

Please mention multiple possibilities if applicable.

like image 548
JohnB Avatar asked Aug 23 '13 04:08

JohnB


People also ask

What causes open file security warning?

This Windows security warning usually appears when you run an application file downloaded from the Internet, or executable file that is located on a network shared folder or mapped network drive.


1 Answers

I just ran into this problem myself while trying to open some JavaScript files on a development storage Azure blob which I have mapped as a drive in Windows Explorer, I fixed it by going to:

Control Panel > Internet Options > Security

Then selecting Local intranet, clicking on Sites, unchecking

[ ] Automatically detect intranet network

and checking both:

[x] Include all local (intranet) sites not listed in other zones and

[x] Include all network paths (UNCs).

like image 177
tom-19 Avatar answered Sep 17 '22 17:09

tom-19