Preset access via Database and Session objects
Setting reset access levels is another approach to restricting access to your data.
To set levels, you have to hard-code passwords or user names in dBASE Plus forms and reports, thus restricting access only to individuals within specified groups.
Preset access can be useful in combination with the individual login approach to provide easy read-only access for general users, and login-protected access for authorized personnel. For example, you might have employee information managed through an application that allows updating by Human Resources personnel, but permits read-only access to other employees.
To implement this strategy, you would need a full-access (read/write) password that the HR staffers would have to enter manually every time they start the application. You would then code into the form a read-only password that would admit everyone else at a limited level.
How you encode preset access levels depends on the table type, as described in the next two topics.