Difference between revisions of "Securing Your Data"
Yvonnemilne (Talk | contribs) (→DES3 Encrypting Your Data) |
Yvonnemilne (Talk | contribs) (→Controlling Access to Data) |
||
Line 2: | Line 2: | ||
===Protecting Data with Constraints=== | ===Protecting Data with Constraints=== | ||
===Controlling Access to Data=== | ===Controlling Access to Data=== | ||
+ | The most basic level of database security is provided by the operating system. Recital tables and indexes are individual files with their own respective operating system file permissions. Read permission is required to open a table and write permission to update a table. If a user does not have read permission they are denied access. Without write permission, a table will be opened read-only.</p> | ||
+ | <p>Here the owner, <i>root</i>, and members of the <i>recital</i> | ||
+ | group have write permission, so can update the example table unless | ||
+ | additional protection applies. Other users can only open the example | ||
+ | table read-only.</p> | ||
+ | <table width="100%" class="tablecode"> | ||
+ | <tr> | ||
+ | <td class="tablecode"> </td> | ||
+ | |||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="tablecode"> | ||
+ | <pre><font size="2"># ls -l example*<br>-rwxrwxr-x 1 root recital 147 Nov 29 14:27 example.dbd<br>-rwxrwxr-x 1 root recital 41580 Nov 29 14:27 example.dbf<br>-rwxrwxr-x 1 root recital 13312 Nov 29 14:28 example.dbt<br>-rwxrwxr-x 1 root recital 19456 Nov 29 14:28 example.dbx<br></font></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | <p><b>Note:</b> As in the example above, a table's associated files | ||
+ | should have the same permissions as the table itself:</p> | ||
+ | <table border="1" cellspacing=0 bordercolor="#FFFFFF" bgcolor="#E5E5F0" width="100%"> | ||
+ | <tr> | ||
+ | <td valign=top width="25%" class="tableheaderMain"> | ||
+ | <p><b>File Extension</b></p> | ||
+ | </td> | ||
+ | <td valign=top width="75%" class="tableheaderMain"> | ||
+ | <p><b>File Type</b></p> | ||
+ | |||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td valign=top width="25%"> | ||
+ | <p>.dbd</p> | ||
+ | </td> | ||
+ | <td valign=top width="75%"> | ||
+ | <p>Dictionary</p> | ||
+ | </td> | ||
+ | |||
+ | </tr> | ||
+ | <tr> | ||
+ | <td valign=top width="25%"> | ||
+ | <p>.dbf</p> | ||
+ | </td> | ||
+ | <td valign=top width="75%"> | ||
+ | <p>Table</p> | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td valign=top width="25%"> | ||
+ | <p>.dbt</p> | ||
+ | </td> | ||
+ | <td valign=top width="75%"> | ||
+ | <p>Memo</p> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td valign=top width="25%"> | ||
+ | <p>.dbx</p> | ||
+ | |||
+ | </td> | ||
+ | <td valign=top width="75%"> | ||
+ | <p>Index</p> | ||
+ | </td> | ||
+ | |||
===DES3 Encrypting Your Data=== | ===DES3 Encrypting Your Data=== | ||
Recital gives you the ability to encrypt the data held in Recital tables. Once a table has been encrypted, the data cannot be accessed unless the correct three-part encryption key is specified, providing additional security for sensitive data. | Recital gives you the ability to encrypt the data held in Recital tables. Once a table has been encrypted, the data cannot be accessed unless the correct three-part encryption key is specified, providing additional security for sensitive data. |
Revision as of 16:11, 25 January 2010
Contents
Securing Your Data
Protecting Data with Constraints
Controlling Access to Data
The most basic level of database security is provided by the operating system. Recital tables and indexes are individual files with their own respective operating system file permissions. Read permission is required to open a table and write permission to update a table. If a user does not have read permission they are denied access. Without write permission, a table will be opened read-only.</p>
Here the owner, root, and members of the recital group have write permission, so can update the example table unless additional protection applies. Other users can only open the example table read-only.
<font size="2"># ls -l example*<br>-rwxrwxr-x 1 root recital 147 Nov 29 14:27 example.dbd<br>-rwxrwxr-x 1 root recital 41580 Nov 29 14:27 example.dbf<br>-rwxrwxr-x 1 root recital 13312 Nov 29 14:28 example.dbt<br>-rwxrwxr-x 1 root recital 19456 Nov 29 14:28 example.dbx<br></font> |
Note: As in the example above, a table's associated files should have the same permissions as the table itself:
File Extension |
File Type |
.dbd |
Dictionary |
.dbf |
Table |
.dbt |
Memo |
.dbx |
Index |