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

HTTP security: Difference between revisions

From MoodleDocs
m (Deprecate loginhttps)
(loginhttps setting removed (MDL-42834))
Line 1: Line 1:
{{Security}}
{{Security}}
[https://en.wikipedia.org/wiki/HTTPS HTTPS] for logins can be enabled by an administrator in ''Settings > Site administration > Security > HTTP security''.


==HTTPS for logins (deprecated - don't use)==
In Moodle 3.4 onwards, the setting 'Use HTTPS for logins' (loginhttps) has been removed and instead there is a [[HTTPS conversion tool]] for converting embedded content to HTTPS.
[https://en.wikipedia.org/wiki/HTTPS 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.
 
It is not recommended that you use this setting as it's not secure despite using HTTPS for logins. Instead, please look at [[Transitioning to HTTPS]] completely
 
You are also unable to use the SSL proxy setting at the same time


==Secure cookies only==
==Secure cookies only==
Line 16: Line 10:


* MDL-55662 for removing the secure cookies only setting
* MDL-55662 for removing the secure cookies only setting
Forum discussions:
*[http://moodle.org/mod/forum/discuss.php?d=79110 Locked out]
*[https://moodle.org/mod/forum/discuss.php?d=339129 Secure Cookies]


[[Category:Site administration]]
[[Category:Site administration]]

Revision as of 16:27, 9 November 2017


In Moodle 3.4 onwards, the setting 'Use HTTPS for logins' (loginhttps) has been removed and instead there is a HTTPS conversion tool for converting embedded content to HTTPS.

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.

See also

  • MDL-55662 for removing the secure cookies only setting