HTTP security: Difference between revisions
m (added link to spanish translation of document) |
Helen Foster (talk | contribs) (Secure cookies only - MDL-55273) |
||
Line 4: | Line 4: | ||
==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== | |||
In Moodle 3.0.6 onwards, the 'Secure cookies only' default setting is on i.e. it is recommended to use secure cookies only when serving over SSL. When not serving over SSL, the setting is ignored. | |||
==See also== | ==See also== | ||
* | 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 14:47, 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
In Moodle 3.0.6 onwards, the 'Secure cookies only' default setting is on i.e. it is recommended to use secure cookies only when serving over SSL. When not serving over SSL, the setting is ignored.
See also
Forum discussions: