禁用共享文件端口_在网络共享上使用文件时,禁用烦人的“此页面具有未指定的潜在安全风险”...

禁用共享文件端口

禁用共享文件端口

Have you ever right-clicked on a file from a mapped share and gotten this really irritating popup message from Windows? Even more annoying, when you try and drag and drop files from a network share, you get another popup asking “Do you want to move or copy files from this zone?” So what’s the deal?

您是否曾经右键单击过映射共享中的文件,并从Windows获得了此令人烦恼的弹出消息? 更烦人的是,当您尝试从网络共享中拖放文件时,会弹出另一个对话框,询问“您是否要从该区域移动或复制文件?” 那怎么办?

The Problem

问题

Whenever you try and right-click on a file, like a zip file, you’ll get an irritating popup: “This page has an unspecified potential security risk. Would you like to continue?” It’s even more annoying cause, well, I’m NOT using Internet Explorer!

每当您尝试在诸如zip文件之类的文件上单击鼠标右键时,您都会得到一个令人讨厌的弹出窗口:“此页面具有未指定的潜在安全风险。 你想继续吗?” 更令人讨厌的原因是,我没有使用Internet Explorer!

image

The problem gets worse… if you try and drag/copy files out of the folder you’ll get the error “Do you want to move or copy files from this zone?”

问题变得更加严重……如果您尝试将文件拖出/复制到文件夹之外,则会收到错误消息“是否要从该区域移动或复制文件?”

image

Very annoying indeed!

确实很烦人!

The Reason

原因

You are getting this error because Windows is not detecting your local network properly, and assuming that there is a security risk. This all goes back to the concept of “Security Zones” that you might have seen if you’ve ever looked in Internet Explorer’s options panel.

由于Windows无法正确检测您的本地网络并假设存在安全风险,因此您收到此错误。 这一切都可以追溯到“安全区域”的概念,如果您曾经在Internet Explorer的选项面板中查看过,可能会看到。

In order to prevent rogue websites or applications from passing a UNC path as a link to run an application, Windows will detect that a UNC path (like \\computername\sharename) is not part of your local network, and prompt you before doing anything that could be unsafe. This security mechanism is definitely annoying, but it really is a necessary evil.

为了防止流氓网站或应用程序将UNC路径作为运行应用程序的链接传递,Windows将检测到UNC路径(例如\\ computername \ sharename)不属于本地网络,并在执行任何操作之前提示您那可能是不安全的。 这种安全机制确实很烦人,但这确实是必不可少的恶魔。

What we’ll do is manually add the mapped drive computer name to the exception list.

我们要做的是手动将映射的驱动器计算机名称添加到例外列表。

Fixing the Problem

解决问题

You’ll need to open up Internet Options from Internet Explorer’s Tools \ Options menu, or from the Control Panel. Once there, select the Security tab, click on the “Local intranet” icon, and then click on the “Sites” button.

您需要从Internet Explorer的“工具” \“选项”菜单或“控制面板”中打开“ Internet选项”。 到达那里后,选择“安全性”选项卡,单击“本地Intranet”图标,然后单击“站点”按钮。

image

If you only map drives to a few machines, what you can do is click on the “Advanced” button, and then add each machine name with this format:

如果仅将驱动器映射到几台计算机,则可以单击“高级”按钮,然后以这种格式添加每台计算机名称:

file://computername

文件://计算机名

For instance, the name of my file server is superfast, so I put in file://superfast and then clicked the Add button. (Make sure to click the Add button!)

例如,我的文件服务器的名称是superfast,所以我输入file:// superfast,然后单击Add按钮。 (确保单击添加按钮!)

image

If you have a number of machines on your network, you could alternatively uncheck the “Automatically detect intranet network”, and then check the other three boxes. This prevents you from having to enter each machine name manually, but allowing all network paths is probably not the most secure method, better to manually enter the machine name as detailed above.

如果网络上有许多计算机,则可以取消选中“自动检测Intranet网络”,然后选中其他三个框。 这样可以避免您必须手动输入每个计算机名称,但是允许所有网络路径可能不是最安全的方法,最好如上所述手动输入计算机名称。

image

Note: I was completely unable to use this method to remove the security popups when using an IP address to map drives. You’ll need to switch to using the computer name when mapping drives in order to remove the messages. Technically we could remove the security popups across the board using the Custom Level button, but that would leave your computer with a security hole, so I’m not going to explain it.

注意 :使用IP地址映射驱动器时,我完全无法使用此方法删除安全弹出窗口。 映射驱动器时,您需要切换为使用计算机名称,以便删除消息。 从技术上讲,我们可以使用“自定义级别”按钮全面删除安全弹出窗口,但这会使您的计算机有安全漏洞,因此,我不再赘述。

Now that we’ve added the exception, you can right-click on the file without any issues:

现在我们已经添加了例外,您可以右键单击文件而不会出现任何问题:

image

You can also copy files and generally interact with the network share without problems.

您还可以复制文件,并且通常可以与网络共享进行交互,而不会出现问题。

Note that this should also work in Windows 7.

请注意,这在Windows 7中也应该起作用。

翻译自: https://www.howtogeek.com/howto/windows-vista/disable-the-annoying-this-page-has-an-unspecified-potential-security-risk-when-using-files-on-a-network-share/

禁用共享文件端口

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值