mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-15716 Tightened dataroot security checks and and 'loud' administrator warning
This commit is contained in:
parent
bd2bf45169
commit
bba0beaee2
9 changed files with 142 additions and 10 deletions
|
@ -274,6 +274,8 @@ $string['csvdelimiter'] = 'CSV delimiter';
|
|||
$string['curlrecommended'] = 'Installing the optional cURL library is highly recommended in order to enable Moodle Networking functionality.';
|
||||
$string['curlrequired'] = 'The cURL PHP extension is now required by Moodle, in order to commnunicate with Moodle repositories.';
|
||||
$string['customcheck'] = 'Other Checks';
|
||||
$string['datarootsecurityerror'] = '<p><strong>SECURITY WARNING!</strong></p><p>Your dataroot directory is in the wrong location and is exposed to the web. This means that all your private files are available to anyone in the world, and some of them could be used by a cracker to obtain unauthorised administrative access to your site!</p>
|
||||
<p>You <em>must</em> move dataroot directory ($a) to a new location that is not within your public web directory, and update the <code>\$CFG->dataroot</code> setting in your config.php accordingly.</p>';
|
||||
$string['datarootsecuritywarning'] = 'Your site configuration might not be secure. Please make sure that your dataroot directory ($a) is not directly accessible via web.';
|
||||
$string['dbmigrate'] = 'Moodle Database Migration';
|
||||
$string['dbmigrateconnecerror'] = 'Could not connect to the database specified.';
|
||||
|
@ -386,7 +388,7 @@ $string['gdversion'] = 'GD version';
|
|||
$string['generalsettings'] = 'General settings';
|
||||
$string['geoipfile'] = 'GeoIP City data file';
|
||||
$string['globalsquoteswarning'] = '<p><strong>Security Warning</strong>: to operate properly, Moodle requires <br />that you make certain changes to your current PHP settings.<p/><p>You <em>must</em> set <code>register_globals=off</code> and/or <code>magic_quotes_gpc=on</code>. <br />If possible, you should set <code>register_globals=off</code> to improve general <br /> server security, setting <code>magic_quotes_gpc=on</code> is also recommended.<p/><p>These settings are controlled by editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> file.</p>';
|
||||
$string['globalswarning'] = '<p><strong>Security Warning</strong>: to operate properly, Moodle requires <br />that you make certain changes to your current PHP settings.<p/><p>You <em>must</em> set <code>register_globals=off</code>.<p>This setting is controlled by editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> file.</p>';
|
||||
$string['globalswarning'] = '<p><strong>SECURITY WARNING!</strong></p><p> To operate properly, Moodle requires <br />that you make certain changes to your current PHP settings.</p><p>You <em>must</em> set <code>register_globals=off</code>.</p><p>This setting is controlled by editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> file.</p>';
|
||||
$string['googlemapkey'] = 'Google Maps API key';
|
||||
$string['gotofirst'] = 'Go to first missing string';
|
||||
$string['gradebook'] = 'Gradebook';
|
||||
|
|
|
@ -141,6 +141,7 @@ $string['databasetype']='Database type :';
|
|||
$string['databaseuser']='Database user :';
|
||||
$string['dataroot'] = 'Data Directory';
|
||||
$string['datarooterror'] = 'The \'Data Directory\' you specified could not be found or created. Either correct the path or create that directory manually.';
|
||||
$string['datarootpublicerror'] = 'The \'Data Directory\' you specified is directly accessible via web, you must use different directory.';
|
||||
$string['dbconnectionerror'] = 'We could not connect to the database you specified. Please check your database settings.';
|
||||
$string['dbcreationerror'] = 'Database creation error. Could not create the given database name with the settings provided';
|
||||
$string['dbhost'] = 'Host Server';
|
||||
|
@ -184,8 +185,8 @@ Make sure the upper/lower case is correct.
|
|||
<br />
|
||||
<b>Data Directory:</b>
|
||||
You need a place where Moodle can save uploaded files. This
|
||||
directory should be readable AND WRITEABLE by the web server user
|
||||
(usually \'nobody\' or \'apache\'), but it should not be accessible
|
||||
directory must be readable AND WRITEABLE by the web server user
|
||||
(usually \'nobody\' or \'apache\'), but it must not be accessible
|
||||
directly via the web.';
|
||||
$string['dirroot'] = 'Moodle Directory';
|
||||
$string['dirrooterror'] = 'The \'Moodle Directory\' setting seems to be incorrect - we can\'t find a Moodle installation there. The value below has been reset.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue