Skip to content

edX Solutions Team: Default LMS security settings changes (Matasano) - #5410

Merged
martynjames merged 1 commit into
masterfrom
mjames/MoreSecureByDefault
Jan 14, 2015
Merged

edX Solutions Team: Default LMS security settings changes (Matasano)#5410
martynjames merged 1 commit into
masterfrom
mjames/MoreSecureByDefault

Conversation

@martynjames

Copy link
Copy Markdown

These settings were required for a private fork after a 3rd party security review. It was desired to have the default settings be more secure by default, and let other environments (e.g. devstack.py) override the settings if they desire lower levels of security.

We may decide that this is unnecessary for main edx-platform, but worth considering. Thus this review starts the conversation.

Comment thread lms/envs/common.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the comment above this line.

@martynjames
martynjames force-pushed the mjames/MoreSecureByDefault branch from dec478c to 1faa732 Compare September 29, 2014 14:34
@martynjames

Copy link
Copy Markdown
Author

@singingwolfboy - thanks; I updated the comment and added the correct override settings in test.py, so that test should run correctly too.

@mattdrayer mattdrayer changed the title Changes to default settings for LMS as recommended by Matasano edX Solutions Team: Default LMS security settings changes (Matasano) Oct 23, 2014
@jzoldak

jzoldak commented Jan 5, 2015

Copy link
Copy Markdown
Contributor

👍 from a test engineering perspective, tho I'm sure that devops needs to be included for review.
@e0d / @feanil

Comment thread lms/envs/common.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the maximum number of failed logins allowed? What actions will the user have to take to unlock their account again?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a minimum wait period which is a CONFIG setting. I think the default is 15 minutes.

@ebporter

ebporter commented Jan 5, 2015

Copy link
Copy Markdown

Looks like there are 5-6 settings that we're changing:
enforcing the password policy (and changing it to be more strict)
enabling max log-in attempts (though I don't see a default value -- where does the operator change that value?)
hiding PII in the application logs (who gets access to those by default?)
preventing concurrent log-ins (which I personally feel is useful and some people definitely rely on, so I'm wondering if we want to disable this for edx.org)
and enabling "Advanced Security" (but I don't know what that means -- where can I see a list of items?)
On the surface, this change seems fine -- like a good idea, actually -- but I'd like to get these couple of questions answered first.

@singingwolfboy

Copy link
Copy Markdown
Contributor

Now that we've sent an email to the edx-code mailing list about this PR, I think it's ready to merge. @martynjames, do you want to do so?

martynjames pushed a commit that referenced this pull request Jan 14, 2015
edX Solutions Team: Default LMS security settings changes (Matasano)
@martynjames
martynjames merged commit a4ed132 into master Jan 14, 2015
@martynjames
martynjames deleted the mjames/MoreSecureByDefault branch February 26, 2015 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants