HTTP security
From MoodleDocs
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
Template:Moodle 1.9Moodle 1.9 onwards includes a setting for secure cookies (when using HTTPS).
Only http cookies
Moodle 1.9 onwards includes a setting "Only http cookies".
See also
- Using Moodle Locked out forum discussion