IT tutorials
 
Office
 

Microsoft Access 2010 : Securing Databases for Distribution

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Product Key Free : Microsoft Office 2019 – Serial Number
12/14/2011 6:31:05 PM
When a database is used on your local computer or on your company’s network, it is not difficult to control who has access to it. But if you send the database out into the world, on its own or as part of a larger application, you lose that control. There is no way you can know who is using the database or what tools they might have available to hack into it. If this is of concern to you, consider distributing your database as an Access Database Executable (ACCDE) file.

Suppose you want to make a database available for use by several organizations, but the organizations don’t want their members to be able to change the database objects and perhaps "break" things. You can save the database as an ACCDE file and distribute that file instead of the ACCDB file.

Saving a database as an ACCDE file compiles and compacts the resulting database. Users of the ACCDE file can view forms and reports, update information, and run queries, but they cannot change the design of forms and reports.

Tip

ACCDE files also restrict what can be done with macros, modules, and VBA code.

You can’t save a database in ACCDE format back to the source ACCDB format, so after saving a database as an ACCDE file, be sure to retain the original ACCDB file in a safe place. If you need to change a form or report in the database, you will need to make the change in the original database and then save it as an ACCDE file again.

Important

When creating an ACCDE file for a database that is accessed by multiple users, first make sure that no user has the database open. In Windows Explorer, navigate to the location of the file, and verify that there is no file of the same name with an .laccdb (locked Access database) extension. If you attempt to create an ACCDE file for an open database, you will be warned that the database has already been opened by someone else (the username and computer name are provided) and told to try again later.

In this exercise, you’ll create a secure database by saving it as a distributable ACCDE file. You’ll then test the file.

Set Up

You need the GardenCompany12 database you worked with in the preceding exercise to complete this exercise. Open the GardenCompany12 database (not the GardenCompany12_split database), and then follow the steps.

  1. Display the Backstage view, and in the left pane, click Save & Publish.

    The Save & Publish page provides several options for saving and distributing the database.

    Set Up

    The Save & Publish page of the Backstage view.

  2. Below Advanced in the right pane, click Make ACCDE, and then click Save As.

  3. In the Save As dialog box, verify that the contents of your practice file folder are displayed, and then click Save.

    No message alerts you when the save process is complete.

  4. When the Save As dialog box closes, close the database.

  5. Display the Backstage view, and then click Open.

  6. In the Open dialog box, ensure that the contents of your practice file folder are displayed.

    Access has created a database executable file. (You might need to turn off the Navigation task pane and adjust column widths to see the file types in the practice file folder.)

    Set Up

    The icon for an ACCDE file displays a blue lock over the standard Access icon.

  7. Double-click the GardenCompany12 database executable file that is identified as a Microsoft Access ACCDE Database.

    Access displays a somewhat scary security notice.

    Set Up

    This security warning is displayed when you open an executable file that is from an untrusted publisher or that is stored in an untrusted location.

  8. Because you trust the source of this file (you!), click Open.

  9. In the Navigation pane, right-click each object in the Garden Company category, and notice that the Design View command is not available.

    Because Design view is inactive, you cannot make any design changes to forms or reports.

Clean Up

If you want, delete the GardenCompany12.accde file. Retain the GardenCompany12.accdb file for use in the last exercise.

Packaging and Signing Databases

If you want to convey to users of a database executable file that they can trust the file, you might want to use the Package And Sign tool to create an Access Deployment (ACCDC) file. An ACCDC file contains one database that has been compressed. The file is signed with a digital signature, signifying that no changes have been made since the package was created.

Tip

You can either purchase a digital signature from a third-party company or you can create your own signature. For information, search for digital signature in Access Help.

To package the current database as a signed ACCDC file:

  1. Display the Save & Publish page of the Backstage view.

  2. Below Advanced in the right pane, click Package And Sign, and then click Save As.

  3. When a security message asks you to confirm that you want to use the installed certificate, click OK.

  4. In the Create Microsoft Access Signed Package dialog box, specify a location for the package and assign a name. Then with Save As Type set to Microsoft Access Signed Package, click Create.

To use the packaged file:

  1. In Windows Explorer, navigate to the location where the signed ACCDC file is stored.

    You can turn on file name extensions so that you can see them.

    Tip

    The signed package is considerably smaller that the source database file.

  2. Double-click the package, and when Access displays a security notice, click Show Signature Details.

  3. Check the signature in the Digital Signature Details dialog box, and then click OK.

    Tip

    To trust all files originating from this publisher, you can click Trust All From Publisher to add the source to the Trusted Publishers list in the Trust Center.

  4. In the security notice box, click Open.

  5. In the Extract Database To dialog box, navigate to the location to which you want to extract the database, and click OK.

You can then work on the database as you normally would.

 
Others
 
- Microsoft Word 2010 : Inserting a Preformatted Header or Footer
- Microsoft Word 2010 : Inserting Preformatted Page Numbers
- Microsoft PowerPoint 2010 : Applying a Theme
- Microsoft PowerPoint 2010 : Understanding Layouts and Themes
- Microsoft Excel 2010 : Confidence Intervals and the Normal Distribution (part 3)
- Microsoft Excel 2010 : Confidence Intervals and the Normal Distribution (part 2)
- Microsoft Excel 2010 : Confidence Intervals and the Normal Distribution (part 1) - Constructing a Confidence Interval
- Microsoft Outlook 2010 : Configuring the Exchange Server Client - Configuring General Properties & Configuring Advanced Properties
- Microsoft Outlook 2010 : Configuring the Exchange Server Client - Outlook as an Exchange Server Client
- Opening a Notebook in OneNote 2010 & Inviting Others to Coauthor a Notebook
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us