Restrict MAS administrator accounts by IP address:
It is highly recommended that you use the new option for limiting the MAS access by IP address. Simply put your home and office static IPs in the designated text area when you edit your account. This way your MAS system will be best secured against unauthorized access. Whenever you happen to travel and need to access your MAS from a different IP, put up a support ticket and our team will grant you access.
Restrict SSH server access:
The SSH access to your server running MAS should be restricted by IP as well. Upon installation we will provide you with the list of IP addresses that Mansion staff will use for support/setup. Also to minimize the risk of leaking passwords, we recommend you setup the SSH access for Mansion using the 3072-bit RSA public key located here.
PHP configuration:
There are two php configuration settings which, if enabled, present a possible security risk.
If you have not done so yet, we recommend you contact your hosting company immediately and ask them to set in php.ini:
allow_url_fopen = false
register_globals = false
You should be aware that these settings have no effect on MAS, but in rare cases it could potentially affect other 3rd party scripts running on your server, if they were programmed to rely on these settings being on. Most often these are redirecting/authorization scripts for accessing leased feeds and/or forum scripts.
Nevertheless, the recommended practice is to turn them off, then modify any scripts relying on it and make them connect to external servers using CURL, PEAR or other libraries in a more secure way. Having allow_url_fopen enabled, is a potential possibility for attackers to execute and drop malicious scripts gaining unauthorized access to resources at your server.
|