Securing a Database 1.Understanding database security 2.Protecting the Database File 3.Protecting Code 4.Using User level Security 5.Working with workgroups.

Slides:



Advertisements
Similar presentations
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Database Administration Jerry Post Copyright © 2007.
Advertisements

1 Chapter 13 Securing an Access Application. 13 Chapter Objectives Learn about the elements of security Explore application-level security Use user-level.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Workbook properties Workbook properties Workbook Sharing.
1 Linking & Consolidating Worksheets Applications of Spreadsheets.
Using Macros and Visual Basic for Applications (VBA) with Excel
Tutorial 8: Developing an Excel Application
Step-by-Step: Set an Access Password for a Document OPEN the peerreview document from the lesson folder. 1.Click the File tab and then click the Save As.
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
ACCESS SECURITY THE TOOLS PROVIDED BY MICROSOFT TO PROTECT YOUR WORK MUCH OF THE INFORMATION CONTAINED IN THIS PRESENTATION COMES FROM THE MICROSOFT SECURITY.
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Compile MS Access Pertemuan 18 Matakuliah: F0712 / Lab MS Access Tahun: 2007.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Access Tutorial 1 Creating a Database
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Backing Up a Database You make a backup copy of a database to protect your database against loss or damage. You can make the backup copy using one of several.
®® Microsoft Windows 7 for Power Users Tutorial 10 Backing Up and Restoring Files.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you manage a database?
Ch 9 Managing Active Directory User Accounts. Objectives Create Organizational Unit Creating User Accounts in Active Directory Disabling, Enabling, and.
Word Lesson 16 Working with Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Introduction to Application Development.
Windows Tutorial 9 Maintaining Hardware and Software
Access Tutorial 10 Automating Tasks with Macros
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Tutorial 8 Managing and Securing a Database. Objectives Filter data in a table and a form Save a filter as a query and apply the saved query as a filter.
MS Access Advanced Instructor: Vicki Weidler Assistant:
Chapter 7 Working with Files.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
FIRST COURSE Access Tutorial 1 Creating a Database.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 12 1 Microsoft Office Access 2003 Tutorial 12 – Managing and Securing a Database.
With Windows XP, you can share files and documents with other users on your computer and with other users on a network. There is a new user interface.
COMPREHENSIVE Windows Tutorial 9 Maintaining Hardware and Software.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
1. Chapter 25 Protecting and Preparing Documents.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
1 Chapter Overview Understanding User Accounts Planning New User Accounts Creating, Modifying, and Deleting User Accounts Setting Properties for User Accounts.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
COMPREHENSIVE Access Tutorial 12 Managing and Securing a Database.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
Project 2 Working on the Windows XP Desktop Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Using Access Tools.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
® Microsoft Access 2010 Tutorial 8 Managing and Securing a Database.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Tutorial 8 Managing and Securing a Database
Administering a Database System
Microsoft Access 2003 Illustrated Complete
Access Tutorial 1 Creating a Database
Microsoft Office Access 2003
Microsoft Excel 2007 – Level 2
Windows Tutorial 9 Maintaining Hardware and Software
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Presentation transcript:

Securing a Database 1.Understanding database security 2.Protecting the Database File 3.Protecting Code 4.Using User level Security 5.Working with workgroups 6.Working with Accounts 7.Working with Permissions 8.Converting a secured databases 9.Start Up Forms 10.Main Switchboards

DBMS – SECURITY ISSUES Security of information: Why, What, How, and When. Confidentiality Privacy Accuracy Reduce the chance for errors Level of access / privilege Unauthorized access Control Updates Sharing of Databases

No Locking: Starting Balance $400 Tranx 1 $300 Tranx 2 $200 Closing Balance -$100 Overdrawn With Locking: Starting balance: $400 Tranx 1 $300 locked Balance $100 unlocked Tranx 2 $200 insuf. fund Closing balance $100

Protecting a Database File Securing a Microsoft Access database file The simplest method of protection is to set a password for opening a Microsoft Access database (.mdb). Only users who type the correct password will be allowed to open the database. Once a database is open, all its objects are available to the user (unless other types of security have already been defined) Caution: Do not use a database password if you will be replicating a database. Replicated databases can't be synchronized if database passwords are defined. If passwords is forgotten, Database can not be opened.

Protect a database by adding a database password Caution If you lose or forget your password, it can't be recovered, and you won't be able to open your database. Do not use a database password if you will be replicating a database. Replicated databases can't be synchronized if database passwords are defined. Notes A database password is stored with the database and not with the workgroup information file. You can't set a database password if user-level security has been defined for your database and you don't have Administer permission for the database. Also, a database password is defined in addition to user-level security. If user-level security has been defined, any restrictions based on user-level security permissions remain in effect. If a table from a password-protected database is linked, the password is cached (saved) in the database it is linked to when the link is established. This may have unforeseen consequences. For more information, click.

Protect a database by adding a database password 1.Close the database. If the database is shared on a network, make sure all other users have closed the database. 2.Make a backup copy of the database, and store it in a secure place. 3.On the File menu, click Open. 4.Click the arrow to the right of the Open button, and then click Open Exclusive. 5.On the Tools menu, point to Security, and then click Set Database Password. 6.In the Password box, type your password. Passwords are case-sensitive. 7.In the Verify box, confirm your password by typing the password again, and then click OK. The password is now set. The next time you or any other user opens the database, a dialog box will be displayed that requests a password.

Remove a database password On the File menu, click Open. 1.Click the arrow to the right of the Open button, click Open Exclusive, and then open the database. 2.In the Password Required dialog box, type the database password, and then click OK. Passwords are case-sensitive. 3.On the Tools menu, point to Security, and then click Unset Database Password. This command is only available if a database password was set previously. 4.In the Unset Database Password dialog box, type your current password. 5.Click OK.

Hide objects in the Database window – Protecting Code: 1.In the Database window, click the object you want to hide. 2.Click Properties on the toolbar. 3.Click Hidden, and then click OK. Notes To show all hidden objects, click Options on the Tools menu, click the View tab, and then select the Hidden Objects check box. The icons for hidden objects will be displayed with a dimmed outline. You can then repeat the steps, but in step 3 clear Hidden, to unhide the objects. In a Microsoft Access project, you cannot hide tables, views, database diagrams, or stored procedures.

Security Account Passwords The second kind of password is called a "security account password" and is only used when user-level security has been defined for a workgroup. A security account password is created to make sure that no other user can log on using that user name. The Admin user account (to activate the Logon dialog box). The user account that owns the database and its tables, queries, forms, reports, and macros. Any user accounts that you add to the Admins group. In addition, you might want to add passwords to the accounts you create for users, or instruct users to add their own passwords. Users can create or change their own user account passwords; however, only an administrator account can clear a password if a user forgets the password.

How to organize security accounts A Microsoft Access workgroup information file contains the following predefined accounts. Account - Admin The default user account. This account is exactly the same for every copy of Microsoft Access and other applications that can use the Microsoft Jet database engine, such as Microsoft Visual Basic for Applications and Microsoft Excel. Account - Admins The administrator's group account. This account is unique to each workgroup information file. By default, the Admin user is in the Admins group. There must be at least one user in the Admins group at all times. Account - Users The group account comprising all user accounts. Microsoft Access automatically adds user accounts to the Users group when a member of the Admins group creates them. This account is the same for any workgroup information file, but it contains only user accounts created by members of the Admins group of that workgroup. By default, this account has full permissions on all newly-created objects. The only way to remove a user account from the Users group is for a member of the Admins group to delete that user.

Secure a database using the User-Level Security Wizard By using the User-Level Security Wizard, you can apply user-level security with a commonly-used security scheme and encrypt your Microsoft Access database. 1.Open the database that you want to secure. 2.On the Tools menu, click Security, and then click User-Level Security Wizard. Follow the directions in the wizard dialog boxes. Notes The User-Level Security Wizard creates a back-up copy of the current Access database with the same name and a.bak extension, and then secures the selected objects in the current database.

User-level security When using user-level security in a Microsoft Access database, a database administrator or an object's owner can grant specific permissions to individual users and groups of users on the following objects: tables, queries, forms, reports, and macros. Data access pages and modules are not protected by user-level security. Workgroup A group of users in a multiuser environment who share data and the same workgroup information file. Admin account The default user account. When you install Microsoft Access, the Setup program automatically includes the Admin user account in the workgroup information file it creates. The Admin account is the same for every copy of Microsoft Access and for other applications, such as Microsoft Visual Basic, that use the Microsoft Jet database engine. By default, Microsoft Access automatically logs you on at startup using this account and gives you full permissions to database objects. Admins group The system administrator's group account that retains full permissions on all databases used by a workgroup. The Setup program automatically adds the default Admin user account to the Admins group. There must be at least one user in the Admins group at all times.

Control how an Access database or Access project looks and behaves when it starts You can specify, for example, what form to display, whether toolbars can be customized, and whether shortcut menus are available. 1.On the Tools menu, click Startup. 2.Select the options, or enter the settings you want to use. Notes For information about a specific item in the dialog box, click the question mark at the top of the dialog box, and then click the item. For a list of issues to consider when setting options in the Startup dialog box, click. For additional information about creating an application, click

Create, customize, and delete a switchboard form You create, customize, and delete a switchboard by using the Switchboard Manager. Create a switchboard 1.Open the database. 2.On the Tools menu, point to Database Utilities, and then click Switchboard Manager. 3.If Microsoft Access asks if you'd like to create a switchboard, click Yes. 4.Click New. 5.Type the name of the new switchboard, and then click OK. Microsoft Access adds the switchboard to the Switchboard Pages box. 6.Click the new switchboard, and then click Edit. 7.Click New. 8.Type the text for the first switchboard item in the Text box, and then click a command in the Command box. For example, type View Recording Artists, and then click Open Form In Edit Mode in the Command box. Note: To create a switchboard that branches to other switchboards, click the Go To Switchboard command in the Command box, and then specify the switchboard you want to go to. 9.Depending on which command you click, Microsoft Access displays another box below the Command box. Click an item in this box, if necessary. For example, if you clicked Open Form In Edit Mode in step 8, click the name of the form you want to open in the Form box, such as Recording Artists, and then click OK. 10.Repeat steps 7 through 9 until you've added all the items to the switchboard. Note: To edit or delete an item, click the item in the Items On This Switchboard box, and then click Edit or Delete. If you want to rearrange items, click the item in the box, and then click Move Up or Move Down. 11.When you've finished creating the switchboard, click Close.

Notes To make a switchboard open when you open the database, click the switchboard name in the Switchboard Manager dialog box, and then click Make Default. When you create a switchboard with the Switchboard Manager, Microsoft Access creates a Switchboard Items table that describes what the buttons on the form display and do. If you make changes to the Switchboard form later in form Design view, the application may no longer work.Design view

Database Recovery Backups – Off site, full system, incremental, part Log Files Recovering from hardware or software failure and sudden power cut Recovering the database with a transaction that was half way thru Preventive methods - UPS

Back up a database 1.Close the database. If you are in a multiuser environment, confirm that all users have closed the database. 2.Using the Windows Explorer, My Computer, Microsoft Backup, the MS-DOS copy command, or other backup software, copy the database file (an.mdb file) to a backup medium of your choice. Notes If you are backing up to a floppy disk and your database file exceeds the size of the disk, you cannot use Windows Explorer or My Computer to back up your database; you must use Microsoft Backup or backup software so that you can copy the file over more than one disk. You should also create a backup of the workgroup information file. If this file is lost or damaged, you won't be able to start Microsoft Access until you restore or rebuild it. You can back up individual database objects by creating a blank database and then importing the objects you want from the original database.

Repairing an Access database In most cases, Microsoft Access detects that an Access database is damaged when you try to open it and gives you the option to compact it at that time. In some situations, Microsoft Access may not detect that an Access database is damaged. If an Access database behaves unpredictably, compact it. Compacting a previous-version Access database won't convert it to Access 2000 format. Learn more about converting a previous-version Access database.converting a previous-version Access database If you are compacting a multiuser (shared) database that is located on a server or shared folder, make sure that no one else has it open. You must have Open/Run and Open Exclusive permissions for an Access database in order to compact it. Learn more about assigning permissions.assigning permissions

Powerful Tool to Repair Corrupt Access Database SysTools Access Recovery is the most popular advanced access database repair tool to repair corrupt MS Access database. SysTools Access Recovery supports to repair Access database of MS Office 97/2000/XP/2003. Software is a secure & easy access database recovery utility designed to repair corrupt Access database (.mdb files). SysTools Access Recovery recovers objects like tables, queries, relationships and repairs password protected MS Access or mdb files.