
We begin with the front end and back end database files from the previous networking course, implement a user login, and secure the database with a macro to prevent bypass.
Set up your work environment on the F drive, download five files, and copy front end and back end from backup into a work folder to minimize disruption.
Create a backend users table with fields for user, key word, and user level. Use a combo box lookup and primary key, then encrypt database and build a login form.
Learn to encrypt the backend database by closing it, opening exclusive mode from the work folder, and selecting encrypt with passwords using the password you set to connect front end.
Relink front end to the encrypted back end by linking all tables, then address security risk of memorized passwords and introduce a login form to secure the front end.
Create a login form in Access using a username combo box bound to the Users table with limit-to-list. Use VBA to pull the password and user level for credential validation.
Add a password box to the form beside the username. Rename the label to bad word and the box to P-word; plan to use the Open event.
Create a VBA subroutine for the login form to clear the username and password, hide the bad password label, and focus the username on open.
Add an exit button to the login form and configure a VBA onclick routine that shows a yes/no message box to confirm exit and close the form.
Add a test entry function to the login form to validate the username and password, returning true or false, and call this function from the login button.
Create a login button in Microsoft Access, rename and caption it, attach an on click event with a test entry check, and display message boxes guiding username and password validation.
Finish building the test entry function by validating the password against the selected username from the combo box, showing a bad password message, focusing the password field, and testing login.
Add an exit button on the customer form to return to the log in form, using do commands to close and open forms and confirm exit.
Enhance login form security by configuring Access form properties, disable resizing, scrolling, and navigation, set a 'please log in' caption, and remove the ribbon and menu for a partial-screen login.
Switch from tabbed to overlapping windows, resize the login form to a partial screen, and save the size after closing and reopening the database.
Create a startup routine in vba that centralizes settings, checks version, hides the menu and ribbon, and opens the login form, with autoexec modification and a bypass key for admins.
Modify the login form to unhide the ribbon and nav pane when an admin user logs in with the correct password. Turn off shortcut menus globally and set database properties.
Examine the set startup properties subroutine to configure the database, including show the database window, show the status bar, built-in toolbars, and shortcut menus, using bool properties and defaults.
Create a custom blank ribbon in Access by adding a system table for ribbons, entering one record with the ribbon name and code, and preparing to install the toolbar.
Install a custom ribbon, hide it at startup, and finalize security by editing startup properties, bypass key, login, and exit behavior to enforce front door access controls.
Discover how backdoor vulnerabilities in a Microsoft Access database arise from autoexec, import tables and macros, and exporting steps to front end, and learn to close these security holes.
Eliminate the import auto exec problem by redesigning startup: open the login form first, call startup from login, and remove the auto exec to secure the database.
Learn to secure a Microsoft Access database by implementing a hide tables function, managing startup properties, and preventing table imports through VBA automation.
Lock your VBA project with a password to secure the code and protect modules and forms, then consider runtime on network computers or converting the back into Microsoft SQL Server.
Review how to password protect the back end, use an encrypted database, and implement a login form with a user table for passwords and user levels.
If you are concerned that network users can, intentionally or by accident, alter or modify settings or code in your networked database, you have come to the right place! Every single step is covered for maximizing the security of the front end/back end databases from the Network 1 course! Having installed Access on dozens of networks, I have had to develop methods to prevent users from being anywhere in the system that I don't want them to be. So why suffer through another phone call for errors that could be completely avoided? I will show you how to eliminate the possibility of them ever happening!
This course shows you many techniques for using VBA to control how users log in to and use the database. If you have no familiarity with VBA, you may get frustrated, but every step is illustrated and you are provided with beginning and ending versions of the databases. For some this could be a quick intro into the incredible power of VBA that will convince them that they really should take the Intro to VBA course. For others who have already done all or part of that course, 90% these techniques are totally new and will extend the students knowledge of VBA quite a bit.
Most of the employees in my client businesses have small networks staffed with people who know nothing about Access and they don't want to have to figure out how the ribbon and navigator work, that is why they are always hidden. The systems I build using these techniques let people with zero knowledge of Access get productive on the network quickly. Believe me, there is a huge and growing need for people who can setup easy to use shared database networks like these and there just aren't enough people who know how to do it right!
None of this is theory and you won't find these techniques in any book. The content of this course is a breakdown of the methods I successfully use to administer dozens of networks for my client businesses. I learned a long time ago that you have to automate every routine job that you can, but also you must eliminate downtime for your client and yourself by making silly mistakes. These methods of keeping the network users from even seeing anything they do not need to know about just increase productivity and reduce downtime.
Just take a look at the demo video and see what logging into the finished database looks like. It doesn't look much like Access! Many of the employees in my client businesses do not even know they are using Access (and they really don't care). All they know is it is way easier to get their job done than it used to be!
Follow along as I take you step by step through the modification of the front and back end databases from the Networking Made Simple course and show you tools that you will be using for years to come! This course will show you :
How to "Encrypt" an Access database.
How to link to encrypted backend databases from the frontend.
The basics of creating a User Login table.
How to create a simple, yet powerful login form.
How to validate passwords and determine the employee security level.
How to develop a secure database without locking yourself out.
How to create a "dialog" login form that cannot be bypassed.
How to hide or unhide the menus and Navigation Pane.
How to set database security properties.
How to create a custom BLANK ribbon!
How to build in a backdoor for Administrators.
How to Password Protect all your VBA Code.
How to Deploy the Updated Database
If you take the time to learn these techniques you will save MANY HOURS of time and avoid wasting time on problems caused by users being where they should not be in the database!
If you want to become the Network Database Guru, click the Take This Course button to get started on this journey to increased productivity and higher value for you in the marketplace. Think of it! In just a few HOURS you know more about securing databases and controlling users on an Access network than almost everyone else!