This documents addresses issues of securing your Vivvo installation more tightly than default installation does. It is recommended for everyone looking for an extra bit of security (who said “paranoid” ?!). Overall, out of the box Vivvo installation is pretty secure. But that doesn't mean you should ignore tightening up security even further.
If you find a security issue with Vivvo, please contact Vivvo staff in private first at support@vivvo.net email address.
You can additionally secure configuration file (/conf.php in ROOT) by moving the actual configuration file outside the web root folder (one folder up). To do so, you need to copy the conf.php file outside web root (usually called 'public_html', or similar).
After that, on line 11 of your conf file you need change VIVVO_FS_ROOT and instead of:
define('VIVVO_FS_ROOT', str_replace('\\', '/', realpath(dirname(__FILE__))) . "/");
place full path to your vivvo root folder:
define('VIVVO_FS_ROOT', '/home/example/public_html/');
When you do, just edit the file that remained in ROOT to contain only this line:
<?php
require_once (dirname(__FILE__) . '/../conf.php');
?>
If you are running on host that is configured to use suPHP or suExec than you can change file permissions for all files to 600, and all folders to 700. This way you are insured that nobody accept you can access this files.
But if you are running on host that don't have suPHP or suExec module installed you will have to set permissions so that user running apache web server can access and read that files, and in a case where is needed for web server to write files you will have to grant write privileges also.
TODO
If you choose not to use web interface for changing layout and look'n'feel of your website, you should change folder permissions so that modification of themes and templates is not possible using the web interface. To do this you should change permissions for /templates and /themes folders, including all sub-folders to 755, and all the files should have permissions 644.
The best way to secure the install directory from unauthorized access is to delete it immediately after installation. Alternatively, you can rename it to something else, but we still recommend deleting it.
TODO