Hello everyone, today I present to you zCMS_Security. It's uber/zCMS/rCMS compatible, and this is what it is:
Explanation -
zCMS_Security is a cron script that runs at a certain time interval, you can change it but the default is at 10 minutes to keep your hotel safe. If there are any hidden accounts, eg above the max rank your hotel has (owner = 7 or w/e), the accounts above that rank will be demoted and the hotel will be shut down and put into maintenance. This feature can be disabled inside the cron job.
The glory about it is it also checks to see if the main owners account (changable in the script) is ranked lower than they should be, which also shuts down the server and puts it on maintenance.
I think this tool is a must have for large hotels if you want to maintain security.
How to install
NOTES:
You'll need to edit your maintenance tpl file yourself. Mines all custom and stuff so it wouldnt work with what you have, sorry. I'll provide it in v2, cos theres a few ways I could improve this but I think it would be good to release it now
Download -
Explanation -
zCMS_Security is a cron script that runs at a certain time interval, you can change it but the default is at 10 minutes to keep your hotel safe. If there are any hidden accounts, eg above the max rank your hotel has (owner = 7 or w/e), the accounts above that rank will be demoted and the hotel will be shut down and put into maintenance. This feature can be disabled inside the cron job.
The glory about it is it also checks to see if the main owners account (changable in the script) is ranked lower than they should be, which also shuts down the server and puts it on maintenance.
I think this tool is a must have for large hotels if you want to maintain security.
How to install
Code:
=> Edit zcms_securitys settings at the top of the script BEFORE YOU DO ANYTHING
=> Place zcms_security.php inside inc/cron_scripts
=> Run the code below on your database
PHP:
DROP TABLE IF EXISTS `site_config`;
CREATE TABLE `site_config` (
`maintenance` enum('0','1') NOT NULL DEFAULT '0',
`msg` varchar(255) NOT NULL DEFAULT ' '
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `site_config` VALUES ('0', 'Default Message');
INSERT INTO `site_cron` VALUES ('1', '1', '1', 'zcms_security.php', '1315057410', '600');
You'll need to edit your maintenance tpl file yourself. Mines all custom and stuff so it wouldnt work with what you have, sorry. I'll provide it in v2, cos theres a few ways I could improve this but I think it would be good to release it now
Download -
You must be registered for see links