DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Users manual

Installation

  1. Download the extension from the Typo3 Extension Repository and install it.
  2. Insert the plugin in your page.
  3. Edit the flexform plugin options and save.
Configuration flexform

Help : Context Sensitive Help. Click on the Question Mark Icon to open the help window.

CSS File : Path to your CSS file if you do not want to use the default one.

Create a link to the following page : If set, the extension will create a link in relation with the security selector.

Security : Select here the type of security requested to access to the page (Validity date, Captcha, FE User Check, User check from table).

Table for the security : Table in relation with the security selector.

Field for the security : Field in relation with the security selector (the email for captcha will be saved here).

Email sender : Email to identify the sender of the message containing the private link when Captcha is used. For example, use the webmaster email or any other email that makes sense.

Uid for the field cruser_id : uid that will be used as the cruser_id for the record associated with the user when Captcha is used. For example, use the uid of an administrator.

Key : the key is a private information that will be used to build the link.

Validity of the link in hours : If you use the Validity date for the security, you can give a validity date to links. 24 hours is the default value.

Redirection page on error: Set the page to redirect to in case of errors. This field is required . Be careful, for unknown reason, the required icon is not at the right place.

Examples

Access to a page when security is set to “Validity Date”

This case is useful when you want to give access to a group of users without having them registered as FE users. For example, you may want to provide a service on your site to partners but you do not have all your partners as FE users. Your partners are registered on another site. They will access to your service by means of a link which contains the private key for controlling the page access.

You need to provide the key, the validity in hours and the redirection page.

UsersManual/../Images/ExamplePageAccessWithValidityDate.png

Using the extension with the captcha

This case can be used when you want to control the access to an extension built with the “SAV Library” to users that have previously provided an email address. This is useful for services where the user can freely input information in FE without being registered as a FE users (for example, job offers). In particular, it is useful when you create a “SAV Library” extension with an “Update Form” .

The email provided by the user is used to send him a message with a private link to his/her record. The same user may have several records. He/She will receive one different link for each record.

../_images/ExamplePageAccessWithCaptcha.png

For the configuration, select captcha and provide the table name where information will be saved. It's the table name used in your “SAV Library” extension. Provide the field name where the email will be saved. Be sure to have created this field in your extension. Provide the sender email (for example your email) and the that will be used as the cruser_id (for example, your uid).

Go to your page ... answer to the captcha ... provide your email ... and you should receive your personal link.

When you use the captcha configuration, the page access is not controlled as in the previous case. It controls the access to your “SAV Library Plus” extension that you should have inserted in the page after this filter.

Access to a page when security is set to “FE User Check”

This case is useful when you want to give access to a FE User to an “update Form” in an extension built with the “SAV Library”. It makes it possible for the user to fill his/her form. The record in the table (here tx_test_users) is created when the FE user clicks on the access link for the first time. Then, the user may update the data by clicking on the access link.

../_images/ExamplePageAccessWithFEUserCheck.png

Access to a page when security is set to “User Check from table”

Use this case when you want to control the access to a page by checking if the URL parameter contains a correct crypted key. In general, you will have a user information in a field (field for security) in a given table (table for security), for example it can be the user email or any other information.

To grant access, the URL of the page must contain the following parameter:

&tx_savfilterpageaccess_pi1[key]=cryptedValue

The crypted value must be the md5 of the concatenation of the value, for the user, of the field for security in the table for security and the key information.

Styles

The default style sheet is in the file “Resources/Private/Styles/sav_filter_pageaccess.css”