HomeUsing LincDoc 3.1+Frequently Asked Questions (FAQs)Security FAQs

25.3. Security FAQs

This topic contains frequently asked questions (FAQs) related to system and document security.

Note: If you have any suggestions for additional FAQ content, contact LincDoc Technical Support.

The following issues are described below:

How do you restrict individual user access to only the documents that user created, while allowing administrators full access to all documents?

The following procedure describes how to configure your LincDoc environment to allow individual users access to the documents they create, but only those documents (not those created by other users). At the same time, an administrator-type user is given access to all documents created by all users. This example uses a SQL repository. The process for other repository types (Laserfiche, DocuWare,  etc.) will differ.

  1. Access the Admin dialog box for the form related to the documents whose view access you want to control.
  2. Verify that you have completed that necessary steps to set up the SQL repository field mappings for your eForm or Document Package.
  3. Specify a token-based system for all generated documents that places them in a specific folder in your repository and provides them with a name based on user-specific information. The specified folder is what will ultimately be used to control the security access, and all documents saved in the folder will inherit the security policy we create (below).
    1. On the Admin dialog box, verify that you are viewing the eForm or Document Package tab (the first tab).
    2. In the Token-based name text box, specify a string that will save all documents to the same folder.
      For example, the string test/<<user:username>>.<<doc-meta:created-date:hhmmss>> will save documents in the folder called test, and will use the current user's username and a timestamp to automatically create the document's file name.
  4. Verify that your repository's security settings will correctly inherit the folder's security policy.
    1. On the Admin dialog box, click the Repositories tab.
    2. Locate the repository in which the documents will be stored.
    3. Click the repository's edit (wrench) button.

      The repository's Configure dialog box appears.
    4. Click the Security tab.
    5. Verify that the Do not set a security policy - inherit policy from the parent setting is selected. (This is the default value when repository is set up.)
    6. If necessary, save your changes to the repository.
    7. Close the Configure dialog box.
  5. On the Admin dialog box, save your changes to the form by clicking the save button on the dialog box's toolbar.
  6. On the LincDoc toolbar, click the browse button.
    The contents of the repository appear (in what is sometimes referred to as the Browse dialog box).
  7. Create the folder that will store all of the form's documents. This folder was specified earlier in the Token-based name text box (in this example: test).
    1. Right-click the top level node in your repository, and select new folder from the menu that appears.

      The New folder name dialog box appears.
    2. Type a name for this folder in the name text box. For example: test.
    3. Click OK.
      The new folder is added to your repository.
  8. Set the security policy for the new folder.
    1. Right-click the new folder, and select security from the menu that appears.
      The Security for dialog box appears.
    2. Notice that the folder currently inherits its security policy (a message explaining this appears directly below the dialog box's toolbar).
    3. On the toolbar, click create policy.
      The "inherit" message disappears, and the lower portion of the dialog box can now be edited.
    4. In the type column, click the everybody entry.
    5. In the Privileges for list, verify that no check boxes are selected.
    6. In the type column, click the owner entry.
      The entry is highlighted, and the privileges for the type are displayed on the right side of the dialog box. This entry represents the creator of the document (the user who created it).
    7. Using the items in the Privileges for list (on the right side of the dialog box), restrict access to the owners (creators) of the documents stored in this folder. For example, you could select (check) the following options (these can vary, based on your needs):
      • add_child (this privilege allows for the possible automatic creation of a document or subfolder based on the form's token name)
      • history_read
      • read
      • read_by_id
      • read_data
      • show_edit_ui
      • write

      Your dialog box should appear similar to the example below. Note that you'll need to scroll up to see the add_child privilege.

    8. In the left column's title bar, click the + button to add an additional type to the list.
    9. Select group from the menu that appears.
      The Select group dialog box appears.
    10. Select the appropriate authentication provider from the Provider drop-down list.
    11. Click the search button to locate all groups defined within this provider.
    12. Click the admin group (usually Administrators if using an internal security provider) from the list that appears.
    13. In the upper left corner of the dialog box, click select.
      The new entry appears in the type list and is automatically selected (highlighted).
    14. Using the items in the Privileges for list, grant full access to the administrator-type users of the documents stored in this folder by selecting (clicking) all of the options.
    15. In the upper left corner of the dialog box, click save to implement the new security policy settings for the folder.
    16. Click OK to verify the action.
    17. Close the Security for dialog box.
  9. Verify that the folder security changes have taken effect.
    1. Right-click the test folder, and select security from the menu that appears.
    2. Click the owner type, and verify that only the previously specified privileges are still selected.
    3. Click the group type, and verify that all of the privileges are still selected.
    4. Close the Security for dialog box.
    5. Close the repository's Browse dialog box.

This page was: Helpful | Not Helpful