Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: HTTP security.

HTTP security: Difference between revisions

From MoodleDocs
(secure cookies only, only http cookies, stub template)
m (rewording)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{Security}}
 
HTTPS for logins can be enabled by an administrator in ''Settings > Site administration > Security > HTTP security''.
Location: ''Administration > Security > HTTP security''
 


==Use HTTPS for logins==
==Use HTTPS for logins==
Line 9: Line 7:
==Secure cookies only==
==Secure cookies only==


{{Moodle 1.9}}Moodle 1.9 onwards includes a setting for secure cookies (when using HTTPS).
It is recommended to use secure cookies only when serving over SSL. When not serving over SSL, the setting is ignored. In Moodle 3.1.2 onwards, the 'Secure cookies only' default setting is on. (It is likely that the setting will be removed in 3.2 onwards - see MDL-55662.)  


==Only http cookies==
==See also==


Moodle 1.9 onwards includes a setting "Only http cookies".
Forum discussions:
 
*[http://moodle.org/mod/forum/discuss.php?d=79110 Locked out]
==See also==
*[https://moodle.org/mod/forum/discuss.php?d=339129 Secure Cookies]


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=79110 Locked out] forum discussion
[[Category:Site administration]]


[[Category:Administrator]]
[[de:HTTP-Sicherheit]]
[[Category:Security]]
[[es:Seguridad HTTP]]

Latest revision as of 14:54, 7 September 2016

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.

Secure cookies only

It is recommended to use secure cookies only when serving over SSL. When not serving over SSL, the setting is ignored. In Moodle 3.1.2 onwards, the 'Secure cookies only' default setting is on. (It is likely that the setting will be removed in 3.2 onwards - see MDL-55662.)

See also

Forum discussions: