TAILIEUCHUNG - Microsoft Office 2003 Super Bible phần 10

Bạn có thể chọn để sử dụng các thiết lập không gian làm việc được đưa ra trong Tạo một phần Workspace của cửa sổ Workspace Đại hội nhiệm vụ hoặc tùy chỉnh Workspace Hội nghị. Nếu bạn chọn để sử dụng các thiết lập hiển thị, bỏ qua Bước 11. 7. Để tùy chỉnh Workspace Hội nghị, chọn Change Settings Tạo một phần Workspace của | Chapter 22 Adding Security to Access Applications 553 Note Encryption is performed in addition to securing a database. A secure database is one that is secured using users groups and permissions. Simply encrypting a database does nothing to secure the database for general Access users. Decrypting a Database You can decrypt a previously encrypted database. To decrypt a database simply follow these steps which are similar to the encrypting process 1. Start Access but do not open a database. Select Tools Security Encrypt Decrypt Database. 2. Select the database to decrypt from the Encrypt Decrypt dialog box. 3. Provide a name for the new decrypted database. Protecting Visual Basic Code Although setting user-level security allows you to restrict access to tables forms and reports in your database it does not prevent access to the Visual Basic code stored in modules. You control access to the Visual Basic code in your application by creating a password for the Visual Basic project that you want to protect. When you set a database password for a project users are prompted to enter the password each time they attempt to view the Visual Basic code in the database. Note A Visual Basic project refers to the set of standard and class modules the code behind forms and reports that are part of your Access database .mdb or Access project .adp . 1. Open any standard module in the database. For this example open the basSalesFunctions modules in . When you open the basSalesFunctions module the Visual Basic Editor displays. 2. In the Visual Basic Editor select Tools Access Auto Auctions Properties. The Access Auto Auctions Project Properties dialog box displays. 3. Select the Protection tab in the Project Properties dialog box. Check the option labeled Lock project for viewing. 4. In the Password field type the password that you want to use to secure the project see Figure 22-31 . For this example use the password bible. Access does not display the password rather it

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.