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.

Details on configuration evaluation

The three basic config fields securedDirs, securedFiletypes, domain allow regular expressions.

Hint

Some characters (slash, backslash, dot, blank) are automatically quoted for your convenience.

For filetype (meaning actually the file extension), all upper/lowercase combinations are automatically included (e.g. “gif” would also cover “giF”.)

The pipe (|) stands for “OR”.

Regex examples for securedDirs:

If for example you need to secure fileadmin and typo3temp, but not uploads:

fileadmin|typo3temp

To secure everything under fileadmin/secure or typo3temp, you need to write

fileadmin/secure|typo3temp

You also can group some elements with regular expression, but you should be carefull with grouping because the complex regex in the extension does not work if some other matches were output by the regex.

For grouping ( ) is used, but in our case you need to exclude the result of this ( ). This can be done with (?: )

For example we need to find all under fileadmin/secure1 fileadmin/secure2 fileadmin/secure3 or typo3temp

fileadmin/secure(?:1|2|3)|typo3temp

for the same need you can use also [ ] but all chars between [ ] are allowed here

fileadmin/secure[123]|typo3temp

If you need to exclude some subfolders in a secured directory you can do this by (?! ) For example like

(?!fileadmin/unsecured)fileadmin

Hint

More information can be found here: http://www.regular-expressions.info