安全狗导致网站程序池被禁用_如何在Microsoft Office程序中禁用安全警告消息栏...

安全狗导致网站程序池被禁用

安全狗导致网站程序池被禁用

00_lead_image_security_warning_bar_in_word

Macros in Microsoft Office programs allow you to automate repetitive tasks, but some macros can be dangerous. Macros are bits of computer code and they’re infamous for containing malware that will infect your computer if you run them. Microsoft Office protects you from files containing macros by default.

Microsoft Office程序中的宏允许您自动执行重复性任务,但是某些宏可能很危险。 宏是计算机代码的一部分,它们因包含恶意软件臭名昭著,如果运行它们,它们会感染您的计算机。 默认情况下,Microsoft Office保护您免受包含宏的文件的侵害。

When you open a Word, Excel, or PowerPoint file containing macros (.docm, .xlsm, or .pptm, respectively), a Security Warning message displays below the ribbon in the program telling you that macros have been disabled. If, and only if, you know the document came from a trusted source, you can click the “Enable Content” button on the Security Warning message to enable the macros in that document.

当您打开包含宏(分别为.docm,.xlsm或.pptm)的Word,Excel或PowerPoint文件时,程序的功能区下方会显示一条安全警告消息,告诉您已禁用了宏。 当且仅当您知道文档来自受信任的来源时,才可以单击“安全警告”消息上的“启用内容”按钮以启用该文档中的宏。

If you know what you’re doing, and you don’t want to see that message every time you open an Office document, you can disable it. We’ll show you how to disable the message without compromising the security of your Office programs. However, this doesn’t mean you can’t ever use macros in your Office documents again. If you deal with some Office files that have macros from trusted sources, you can set up a trusted location in which you can place those trusted files for each Microsoft Office program. Office files placed in a trusted location are ignored when you open them from that location, and macros are not disabled. We’ll also show you how to set up a trusted location for important files received from trusted sources.

如果您知道自己在做什么,并且不想在每次打开Office文档时都看到该消息,则可以将其禁用。 我们将向您展示如何在不损害Office程序安全性的情况下禁用该消息。 但是,这并不意味着您不能再在Office文档中使用宏。 如果处理的某些Office文件包含来自受信任源的宏,则可以设置受信任位置,在其中可以为每个Microsoft Office程序放置这些受信任文件。 当您从某个受信任位置打开Office文件时,该文件将被忽略,并且不会禁用宏。 我们还将向您展示如何为从受信任来源收到的重要文件设置受信任位置。

First, we’ll disable the Security Warning message bar. To do that, you’ll need to enable the Developer tab, then click on it.

首先,我们将禁用“安全警告”消息栏。 为此,您需要启用“开发人员”标签,然后单击它。

01_clicking_developer_tab

In the “Code” section, click “Macro Security”.

在“代码”部分中,单击“宏安全性”。

02_clicking_macro_security

The Trust Center dialog box displays with the Macro Settings screen active. The “Disable all macros with notification” option is selected by default. You can disable the Security Warning by selecting “Disable all macros without notification”.

在“宏设置”屏幕处于活动状态的情况下,将显示“信任中心”对话框。 默认情况下,“禁用所有带通知的宏”选项。 您可以通过选择“禁用所有宏而无需通知”来禁用安全警告。

If you want to allow digitally signed macros to run, select the “Disable all macros except digitally signed macros” option. This only allows macros digitally signed by a publisher you’ve trusted to run. If you have not trusted the publisher, you are notified. All unsigned macros are automatically disabled without notification.

如果要允许运行数字签名的宏,请选择“禁用除数字签名的宏以外的所有宏”选项。 这仅允许由您信任的发布者进行数字签名的宏。 如果您不信任发布者,则会收到通知。 所有未签名的宏将自动禁用,恕不通知。

03_changing_macro_settings

Microsoft explains what “digitally signed” means here:

Microsoft在这里解释“数字签名”的含义:

Excel uses digital signatures on the workbook contents to help ensure that the workbook has not been modified and saved since it was signed. Digital signatures can also help you distinguish workbooks and macros created by a reliable source from undesirable and potentially damaging workbooks or macro code (viruses).

Excel在工作簿内容上使用数字签名,以帮助确保该工作簿自签名以来没有被修改和保存。 数字签名还可以帮助您将可靠来源创建的工作簿和宏与不良的和潜在损坏的工作簿或宏代码(病毒)区分开。

A digital signature is a public certificate plus the value of the signed data as encrypted by a private key. The value is a number that a cryptographic algorithm generates for any data that you want to sign. This algorithm makes it nearly impossible to change the data without changing the resulting value. So, by encrypting the value instead of the data, a digital signature helps a user to verify the data was not changed.

数字签名是公共证书加上由私钥加密的签名数据的值。 该值是密码算法为您要签名的任何数据生成的数字。 该算法几乎不可能在不更改结果值的情况下更改数据。 因此,通过加密值而不是数据,数字签名可以帮助用户验证数据没有更改。

We do NOT recommend selecting the last option, “Enable all macros”, as that will leave your computer unprotected from potential malware in macros from unknown sources.

我们不建议您选择最后一个选项“启用所有宏”,因为这将使您的计算机不受来自未知来源的宏中潜在的恶意软件的保护。

Changing these macro settings in the Trust Center only affects the Office program you are currently using. To change these settings in Excel or PowerPoint, you must open those programs and change the settings there as well. The macro settings are accessed the same way in Excel and PowerPoint as they are in Word.

在“信任中心”中更改这些宏设置只会影响您当前正在使用的Office程序。 要在Excel或PowerPoint中更改这些设置,您必须打开这些程序并在其中更改设置。 宏设置在Excel和PowerPoint中的访问方式与在Word中相同。

There is also another way to disable the Security Warning message that will disable the message in all Office programs and overrides the macro settings regarding notifications. Click “Message Bar” in the list of items on the left side of the Trust Center dialog box.

还有另一种禁用安全警告消息的方法,该消息将在所有Office程序中禁用该消息,并覆盖有关通知的宏设置。 在“信任中心”对话框左侧的项目列表中,单击“消息栏”。

04_clicking_message_bar

In the “Message Bar Settings for all Office Applications” section, select the “Never show information about blocked content” option. The Security Warning will not display in any of the Office programs now, even if the “Disable all macros with notification” option is selected on the Macro Settings screen.

在“所有Office应用程序的消息栏设置”部分中,选择“从不显示有关被阻止内容的信息”选项。 即使在“宏设置”屏幕上选择了“禁用所有带通知的宏”选项,现在也不会在任何Office程序中显示安全警告。

05_selecting_never_show_info_about_blocked_content

You might work with documents containing macros that you receive from trusted sources, such as documents in which your co-workers or boss created some macros to make it easier to create and maintain the documents. For those types of documents, you can choose a folder on your computer to be a trusted location where you can store and access these documents. Any Office documents opened from within that folder are ignored when the Office program checks for macros. To set up a trusted location to store and access documents from trusted sources, click “Trusted Locations” in the list on the left.

您可能会使用包含从受信任来源收到的宏的文档,例如同事或老板在其中创建一些宏的文档,以使创建和维护文档更加容易。 对于这些类型的文档,您可以选择计算机上的文件夹作为受信任的位置,您可以在其中存储和访问这些文档。 当Office程序检查宏时,将忽略从该文件夹中打开的所有Office文档。 要设置一个受信任的位置来存储和访问来自受信任来源的文档,请在左侧列表中单击“受信任的位置”。

06_clicking_trusted_locations

Microsoft automatically adds some folders as trusted locations that the current program uses when running. You can add your own folders to that list.

Microsoft自动将一些文件夹添加为当前程序在运行时使用的受信任位置。 您可以将自己的文件夹添加到该列表。

07_default_trusted_locations

Click “Add new location” towards the bottom of the Trust Center dialog box.

单击“信任中心”对话框底部的“添加新位置”。

08_clicking_add_new_location

The Microsoft Office Trusted Location dialog box displays. The default location currently selected in the User Locations list is automatically entered into the Path edit box. To change this location, either type a new full path in the edit box or click “Browse”. Browsing for the location is easier, so we’ll do that.

将显示“ Microsoft Office受信任位置”对话框。 当前在“用户位置”列表中选择的默认位置会自动输入到“路径”编辑框中。 要更改此位置,请在编辑框中输入新的完整路径,或单击“浏览”。 浏览该位置比较容易,因此我们将这样做。

09_clicking_browse

Navigate to the folder in which you want to store your trusted documents for access and click “OK”.

导航到要存储受信任文档以供访问的文件夹,然后单击“确定”。

10_selecting_trusted_folder

The selected full path is added to the Path edit box. If you want to include any subfolders within the selected folder as trusted locations, select the “Subfolders of this location are also trusted” check box so there is a check mark in the box.

所选的完整路径将添加到“路径”编辑框中。 如果要在选定文件夹中包括任何子文件夹作为受信任位置,请选中“此位置的子文件夹也受信任”复选框,以便在该复选框中有一个复选标记。

NOTE: We do NOT recommend using a network drive as a trusted location because other people who have access to the same network could have tampered with the file. You should only make folders on your local hard drive trusted locations, and you should protect your Windows account with a strong password.

注意:我们不建议您将网络驱动器用作受信任的位置,因为其他有权访问同一网络的人可能会篡改该文件。 您只应在本地硬盘驱动器上受信任的位置创建文件夹,并应使用强密码保护Windows帐户。

Enter a description for this folder in the “Description” box, so you know the purpose of this folder when you see it in the list on the Trusted Locations screen. Then, click “OK”.

在“描述”框中输入此文件夹的描述,这样,当您在“受信任的位置”屏幕上的列表中看到该文件夹​​时,便知道该文件夹的用途。 然后,单击“确定”。

11_clicking_ok_on_trusted_location_dialog

The path, description, and data modified for the new trusted location is added to the list.

为新的受信任位置修改的路径,描述和数据将添加到列表中。

12_new_location_added_to_user_locations_list

Details about the selected trusted location are also listed at the bottom of the Trusted Locations screen, including whether or not Sub Folders are allowed.

在“受信任的位置”屏幕的底部,还将列出有关所选受信任的位置的详细信息,包括是否允许子文件夹。

If you selected a folder on a network as your trusted location (again, we do NOT recommend this), select the “Allow Trusted Locations on my network (not recommended)” check box.

如果您选择了网络上的文件夹作为您的受信任位置(同样,我们不建议您这样做),请选中“允许我的网络上的受信任位置(不建议)”复选框。

You can Modify trusted locations in the list or Remove them by selecting the location in the list and clicking the appropriate button to the right of the Add new location button. Once you’ve finished setting up your trusted location, click “OK” on the Trust Center dialog box to accept your changes and close it.

您可以修改列表中的受信任位置,也可以通过选择列表中的位置并单击“添加新位置”按钮右侧的相应按钮来删除它们。 完成设置受信任位置后,在“信任中心”对话框上单击“确定”以接受您的更改并关闭它。

13_clicking_ok

Now your Microsoft Office programs will remain protected from malware in the form of macros, but you can still run macros in trusted documents. And you don’t have to see the Security Warning message every time.

现在,您的Microsoft Office程序将以宏的形式保持免受恶意软件的保护,但是您仍然可以在受信任的文档中运行宏。 而且您不必每次都看到“安全警告”消息。

翻译自: https://www.howtogeek.com/250834/how-to-disable-the-security-warning-message-bar-in-microsoft-office-programs/

安全狗导致网站程序池被禁用

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值