1
Forgive the newbie-type questions but I've searched and some answers I couldn't find while others there seemed to be a variety of answers which ends up a bit confusing.
Other than folders requiring chmod of 777 like cache, templates_c, uploads, what should permissions for the rest of XOOPS folders (including modules, Frameworks, etc.) be set at for optimal security? I see many at 755, is that sufficient?
On another site (non XOOPS), a hacker broke into the site's admin (a cgi script for links) adding his links everywhere. Aside from banning his IPs, I also added the following to the .htaccess file within the admin folder to only allow webmaster and site owner IPs access to the admin:
Order Deny,Allow
Deny from all
Allow from xx.xx.xxx.xxx
This was advised by developers in the script's support forum and seems to work very well. Would something like the following be advisable for XOOPS admin.php files or would it be considered too extreme or cause problems?
<Files admin.php>
order deny,allow
deny from all
allow from xx.xx.xxx.xxx
Files>
In modules/system/ .htaccess file, for example?
Thanks in advance!
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]