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

HTTP security: Difference between revisions

From MoodleDocs
(removing 1.9 template and info relating to previous versions)
(MDL-42834)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Security}}
{{Security}}
<p class="note">'''Please refer to [[Page_notes#Security |these notes]] before editing this page.'''</p>
*In Moodle 3.4 onwards, the setting 'Use HTTPS for logins' (loginhttps) has been removed.
 
* There is a [[HTTPS conversion tool]] for converting embedded content to HTTPS.
 
Location: ''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==
==Secure cookies only==


Moodle 1.9 onwards includes a setting for secure cookies (when using HTTPS).
It is recommended to use secure cookies only when serving over [https://en.wikipedia.org/wiki/Transport_Layer_Security SSL]. When not serving over SSL, the setting is ignored. In Moodle 3.1.2 onwards, the 'Secure cookies only' default setting is on.
 
''Please add further information here...''
 
==Only http cookies==
 
Moodle 1.9 onwards includes a setting "Only http cookies".
 
''Please add further information here...''


==See also==
==See also==


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=79110 Locked out] forum discussion
* MDL-55662 for removing the secure cookies only setting


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


[[de:HTTP-Sicherheit]]
[[de:HTTP-Sicherheit]]
[[es:Seguridad HTTP]]

Latest revision as of 15:52, 10 November 2017

  • In Moodle 3.4 onwards, the setting 'Use HTTPS for logins' (loginhttps) has been removed.
  • 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