Microsoft Office Access 2007 教程 (7)
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Overview: When a source is trustworthy
Whenever you open a file that contains code such as a macro, ActiveX control, or add-in, Office disables the code, and you have to use the Message Bar to enable the blocked content.
Security II: Turn off the Message Bar and run code safely
Remove a digital certificate
So it’s a good idea to keep your list of trusted publishers up to date.
Security II: Turn off the Message Bar and run code safely
Run macros and other code safely
So how can you solve that problem without putting computers and data at risk? Office gives you several options.
Security II: Turn off the Message Bar and run code safely
2
Run macros and other code safely
So how can you solve that problem without putting computers and data at risk? Office gives you several options.
Remove a digital certificate
As a rule, you should check your list of trusted publishers regularly, and remove any invalid certificates.
Certificates that come from large corporations, such as Verisign, are updated automatically and you almost never need to remove them. However, self certificates do expire. They can also become invalid for a variety of reasons, such as when someone tampers with a macro.
Security II: Turn off the Message Bar and run code safely
Course goals
• Add a digital certificate to your list of trusted publishers. • Remove a digital certificate from your list of trusted publishers. • Create a trusted location. • Run files that contain unsigned code in a trusted location.
So why turn off the Message Bar? Because you can save yourself and your co-workers a lot of time. Office provides several ways to turn off the Message Bar and run code safely; this course explains the most secure options.
If you receive code that isn’t signed but that you can trust, you can keep the Message Bar from appearing by running that code in a trusted location — a folder you designate as trusted.
3
If the code is signed, you can click Trust all documents from this publisher, and then click OK.
Security II: Turn off the Message Bar and run code safely
1
If the code is signed, meaning it has a digital certificate applied to it, you can “trust” the certificate by adding it to a list of trusted publishers. This is the safest option, and the one you should always try to use. If the code isn’t signed, but you’re sure you can trust the publisher, you can place the file in a trusted location.
Security II: Turn off the Message Bar and run code safely
Remove a digital certificate
So it’s a good idea to keep your list of trusted publishers up to date.
Your co-workers like using the file, but every time they run it they have to use the Message Bar and a security dialog box before the macro can run. They’d love to just open the file without having to deal with the Message Bar and a security dialog box.
• Lesson: Run macros and other code safely
保险超市
The lesson includes a list of suggested tasks and a set of test questions.
Security II: Turn off the Message Bar and run code safely
3
If you write code for your own use, you can also create a self certificate, use that to sign your code, and then trust that certificate.
This course explains how to use the first two options and introduces the third.
2
Security II: Turn off the Message Bar and run code safely
Trust a digital certificate
You “trust” a digital certificate by adding it to your list of trusted publishers.
[Your company name] presents:
Microsoft Office 2007 Training
Security II: Turn off the Message Bar and run code safely
®
Course contents
• Overview: When a source is trustworthy
1
Click the Microsoft Office button, and then click the program’s Options button. For example, if you’re working in Word, click Word Options.
2
Click Trust Center, and then click Trust Center Settings.
Security II: Turn off the Message Bar and run code safely
Lesson
Run macros and other code safely
Run macros and other code safely
Imagine you’ve created a macro — an automated set of instructions — for one of your Microsoft Office Word documents.
Security II: Turn off the Message Bar and run code safely
Trust a digital certificate
You “trust” a digital certificate by adding it to your list of trusted publishers.
Security II: Turn off the Message Bar and run code safely
Trust a digital certificate
You “trust” a digital certificate by adding it to your list of trusted publishers.
3
Click Trusted Publishers, click the certificate you want to remove, and then click Remove.
Security II: Turn off the Message Bar and run code safely
CreaБайду номын сангаасe a trusted location
1
Start the Options dialog box for your program, click Trust Center, and then click Trust Center Settings. Click Trusted Locations, and then click Add New Location.
1
When you open a file that contains code, the Message Bar displays a security warning, indicated by the shield on the left.
Click Options. That starts the Security Warning dialog box.
It’s a straightforward process, but remember you don’t see the commands discussed here unless you open a file that contains signed code. If a file contains unsigned code, you can enable it, but not trust it permanently, which means you’ll see the message bar every time you open the file.