Protect your templates View larger

Protect your templates


This module disallows direct access to .tpl files.

The index.php in the template directory only protects you if someone enters the root of a particular directory.

Download the free module



Prestashop 1.1 Prestashop 1.2 Prestashop 1.3 Prestashop 1.4 Prestashop 1.5

Translate in

fr en

Proposed by


Data sheet

Core modifications:No
Third party subscription:No
Translation :fr-en
Compatible Prestashop 1.1Yes
Compatible Prestashop 1.2Yes
Compatible Prestashop 1.3Yes
Compatible Prestashop 1.4Yes
Compatible Prestashop 1.5Yes
Free module download

More info

However if they know the exact file name they are looking for, it is very possible that the contents of the file will be output into the browser. Particularly for Smarty .tpl files.

Coupled with the fact that it seems that many are using the Smarty {php} tag (not recommended by Smarty authors btw) which could include sensitive information.

Customers Reviews