Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: HTTP security.

HTTP security: Difference between revisions

From MoodleDocs
(Regenerate session id during login)
(→‎See also: Adding MoodleBites YouTube video link)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Location: ''Administration > Security > HTTP security''
{{Security}}
 
HTTPS for logins can be enabled by an administrator in ''Settings > Site administration > Security > HTTP security''.


==Use HTTPS for logins==
==Use HTTPS for logins==
HTTPS encrypts the user's login data, so it's difficult to sniff out a user's username and password on the network. You will need to enable HTTPS on your server before you turn on this setting, or else you will be locked out of your site. Every web server has a different method for enabling HTTPS, so you should check the documentation for your web server.
HTTPS encrypts the user's login data, so it's difficult to sniff out a user's username and password on the network. You will need to enable HTTPS on your server before you turn on this setting, or else you will be locked out of your site. Every web server has a different method for enabling HTTPS, so you should check the documentation for your web server.
==Secure cookies only==
{{Moodle 1.9}}Moodle 1.9 onwards includes a setting for secure cookies (when using HTTPS).
''Please add further information here...''
==Only http cookies==
Moodle 1.9 onwards includes a setting "Only http cookies".
''Please add further information here...''
==Regenerate session id during login==
In Moodle 1.9.8 onwards, for security reasons, the setting ''regenloginsession'' should be enabled. This setting is compatible with all core authentication plugins, including [[MNet]], but may not be compatible with all contributed authentication plugins.
If necessary, the setting can be disabled by adding the following line to your config.php:
$CFG->regenloginsession = false;
==Required Flash player version==
In Moodle 1.9.7 onwards, for security reasons, a minimum Flash player version may be set. Users with a lower Flash player version will prompted to upgrade.


==See also==
==See also==
 
*[http://youtu.be/VZdv2FvxwrQ Moodle 2 Administration Security settings] MoodleBites video on YouTube
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=79110 Locked out] forum discussion
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=79110 Locked out] forum discussion


[[Category:Administrator]]
[[Category:Site administration]]
[[Category:Security]]


[[de:HTTP-Sicherheit]]
[[de:HTTP-Sicherheit]]

Latest revision as of 02:16, 5 June 2014

HTTPS for logins can be enabled by an administrator in Settings > Site administration > Security > HTTP security.

Use HTTPS for logins

HTTPS encrypts the user's login data, so it's difficult to sniff out a user's username and password on the network. You will need to enable HTTPS on your server before you turn on this setting, or else you will be locked out of your site. Every web server has a different method for enabling HTTPS, so you should check the documentation for your web server.

See also