|
Data control statements let you define security for your database. When you create a dictionary, no security is defined for it until you explicitly enable security for that dictionary. Pervasive.SQL allows you to construct data control statements to do the following:
Note
If your Btrieve data files are secured using Btrieve owner names, the Relational Engine will honor them when performing ODBC operations (for example, Read Only access will be permitted with a type 1 or 3 owner name, no access with a type 0 or 2 owner name) if your database is not secured using Relational security. If your database is secured using Relational security, the Relational Engine will enforce access to the database solely based on the defined database user access rights when performing ODBC operations. These rights must be granted with the owner name specified.
The following sections briefly describe the SQL statements associated with each of these tasks.
You can enable or disable security for a database by issuing statements using the following statement:
You can create or delete users and user groups for the database by constructing SQL using the following statements:
You can assign or remove rights from users or groups by issuing statements using the following:
|
Chapter contents
Prev topic: Data Manipulation Statements
|