Setting Access Rights for Document

Предыдущая страницаВ началоСледующая страница

In the starting dialog of the Document Protection command select the option Set or Modify Access Rights for Documents. The dialog will be launched for selecting files subject to setting or modifying the access.  

Use the buttons Add files… and Add Folder… provided in the dialog for selecting the separate files or specifying a folder whose files will be added to the list.

To set protection on files, their version must be the same as the current T-FLEX CAD version. The selected files will be added to the list. The icon before a file indicates its current state.

clip0826 – Indicates the file in the format corresponding to the current version of T-FLEX CAD. In this case, the file will be protected successfully.

clip0827 – Indicates the file in the format of one of the previous versions of T-FLEX CAD. In this case, the file needs to be resaved in the current version. This can be done by the converter of the older versions of files. Without that, the file protection will not be set.

clip0828 – The file is write-protected or used by another application. In this case, either clear the file attribute Read-only or close this file in the other application, respectively. After that, retry protecting the document.

Protection2

Node that in the cases when multiple documents (a library) need to be protected by the same password, preferably select all files of this library at once. This is because each newly created protection of the type By password is unique and requires generation and input of a unique password.

Once you selected the desired files and pressed the button Next, the dialog for modifying document access will appear.

Protection3

This dialog allows setting a new protection by the button Add. The button Edit serves for modifying the type of an existing protection. Upon pressing one of these buttons, a dialog will be displayed, offering selecting a protection type.

Protection4

In this dialog, select a protection type and define its name. If the protection type Another specific HASP Plug or list of HASP Plugs or Password with another HASP Plug is being set, then for these types enter a special password for access to the HASP protection key in the Password and Password 2 input boxes. This password is issued by the manufacturer of the HASP protection key. If this is a network key, then fill in the entry Net HASP program number. This information is also distributed by the manufacturer of the protection keys.

When setting up document protection by key, it is possible to enter an alternative text password. This password may be needed in the case when the protection key with administrator's privileges is lost (that is, the protection key with the access type Change access).

Once the new protection is set, its name will be displayed in the list of protections in the Change access rights for T-FLEX CAD documents window.

Protection5

Protection6

For the created protection, define access types. Using the buttons Add or Add Current HASP Plug ID, enter the key ID, if this type of protection relies on key protection.

Let's review in details one of the ways of setting document protection. The diagrams above illustrate two protections set to a document. The first protection, named Administrator, has the type Specific T-FLEX CAD HASP Plug or list of HASP Plugs. The key ID was entered for it, and the Change access access type set. This means that the user working with the protection key ID 72815448, can change protection parameters of this document. The second protection, named Bolt library, has the type Password with T-FLEX CAD HASP Plug, with the access types set for modifying variables and inserting fragment. For the user to gain access to a document with this protection, the following steps are required:

1. The user for whom this protection was set needs to send the ID of his T-FLEX CAD protection key to the developer.

2. The developer shall generate the password based on the received protection key ID, by using the command Generate Password for Document or Library and send this password back to the user.

3. When accessing the document, the user shall enter this password in order to gain the access.

All protection settings can be saved in a file in a special format *.tfdat, using the button Save settings.... A protection can be loaded into document from a *.tfdat file, using the button Load settings.... This functionality may be helpful when one needs to add a document to an already protected library (a set of documents). To do this, one can save the protection parameters from a protected document, and then load those settings into the new document.

Upon pressing the Finish button, the protection will be set on the selected files.

Protection7