Bonsoir un petit plaisantin viens de faire sauter mon template a priori en altérant un fichier de mon répertoire cache,
Ces derniers
\Administrator\cache
et
\Cache
Sont en 2777 comme les répertoires qui doivent être en écriture pour joomla, aussi je me pose la question est ce le bon réglage ? (car il n'en parle pas explicitement dans la doc)
File permissions
If a joomla installation is hosted on apache with mod_php, then all virtual hosts on that server run in the same context as your joomla code. If the files are owned by some other user than 'nobody' or 'wwwrun', the safest permissions are those which prevent changes to the joomla code, unless via an authorised channel (e.g. FTP):
DocumentRoot directory: 750 (e.g. public_html)
Files: 644
Directories: 755 (711 if you are paranoid, but not for directories which need to be listed) (owner: some user)
With these permissions set, you will need to use FTP to update your Joomla installation. Not all modules support this. Remove modules which do not support FTP upgrades. Other processes running under mod_php can read your configuration.php. You can frustrate automated hacks by renaming this file. You should not store your FTP password in your configuration file on such hosts, as your account will be compromised.
If a joomla installation is hosted on apache with fast-cgi, suphp or cgi that runs as a different user, then you should set your permissions as follows:
DocumentRoot directory: 750 (e.g. public_html)
PHP files: 600 (400 if you are truly paranoid)
HTML and image files: 644 (444 if you are truly paranoid)
Directories: 755 (711 if you are paranoid, but not for directories which need to be listed)
merci de votre aide,
Amicalement,
F.
Ces derniers
\Administrator\cache
et
\Cache
Sont en 2777 comme les répertoires qui doivent être en écriture pour joomla, aussi je me pose la question est ce le bon réglage ? (car il n'en parle pas explicitement dans la doc)
File permissions
If a joomla installation is hosted on apache with mod_php, then all virtual hosts on that server run in the same context as your joomla code. If the files are owned by some other user than 'nobody' or 'wwwrun', the safest permissions are those which prevent changes to the joomla code, unless via an authorised channel (e.g. FTP):
DocumentRoot directory: 750 (e.g. public_html)
Files: 644
Directories: 755 (711 if you are paranoid, but not for directories which need to be listed) (owner: some user)
With these permissions set, you will need to use FTP to update your Joomla installation. Not all modules support this. Remove modules which do not support FTP upgrades. Other processes running under mod_php can read your configuration.php. You can frustrate automated hacks by renaming this file. You should not store your FTP password in your configuration file on such hosts, as your account will be compromised.
If a joomla installation is hosted on apache with fast-cgi, suphp or cgi that runs as a different user, then you should set your permissions as follows:
DocumentRoot directory: 750 (e.g. public_html)
PHP files: 600 (400 if you are truly paranoid)
HTML and image files: 644 (444 if you are truly paranoid)
Directories: 755 (711 if you are paranoid, but not for directories which need to be listed)
merci de votre aide,
Amicalement,
F.
Commentaire