Two Factor Authentication in SMF 2.1
December 03, 2014, 03:05:27 PM Posted by Dragooon on December 03, 2014, 03:05:27 PM in Two Factor Authentication in SMF 2.1 | 28 CommentsHello all!
It's been a steady two weeks since we released the first beta of SMF 2.1 and since then we've had mostly positive feedback I think, we have fixed a few bugs and did a few improvements marching towards Beta 2 and a part of that was Two-Factor Authentication which I implemented over last week.
Two Factor Authentication adds an additional layer of security over your usual username and password, it works by pairing a device using a compatible app to your account which would then be required whenever you wish to log-in again into the forums. This allows security against those who even managed to steal your username/password, blocking them off as long as they don't have the paired device. For more technical details of the implementation, have a look at the original pull request. SMF 2.1 is compatible with apps listed on the Wikipedia entry here, allowing you to pair with any one app of your preference.
Admins get the option to disable, enable (default) and force 2FA for all users. Although I personally would not recommend forcing 2FA for all since it does require a separate dedicated device but if you wish for that, the option is available. If you're impatient you can checkout GitHub master right now and see it in action (Not recommended for production) or wait for Beta 2 and further releases. With SMF 2.1 we have juiced up the security by a good margin, hopefully you'll like that.
I've attached a few screenshots of it in action, subject to change. These are from the latest build as of this post and I was using Authy for Android as a client but I couldn't take it's screenshots since it wouldn't allow me.
Thank you!
It's been a steady two weeks since we released the first beta of SMF 2.1 and since then we've had mostly positive feedback I think, we have fixed a few bugs and did a few improvements marching towards Beta 2 and a part of that was Two-Factor Authentication which I implemented over last week.
Two Factor Authentication adds an additional layer of security over your usual username and password, it works by pairing a device using a compatible app to your account which would then be required whenever you wish to log-in again into the forums. This allows security against those who even managed to steal your username/password, blocking them off as long as they don't have the paired device. For more technical details of the implementation, have a look at the original pull request. SMF 2.1 is compatible with apps listed on the Wikipedia entry here, allowing you to pair with any one app of your preference.
Admins get the option to disable, enable (default) and force 2FA for all users. Although I personally would not recommend forcing 2FA for all since it does require a separate dedicated device but if you wish for that, the option is available. If you're impatient you can checkout GitHub master right now and see it in action (Not recommended for production) or wait for Beta 2 and further releases. With SMF 2.1 we have juiced up the security by a good margin, hopefully you'll like that.
I've attached a few screenshots of it in action, subject to change. These are from the latest build as of this post and I was using Authy for Android as a client but I couldn't take it's screenshots since it wouldn't allow me.
Thank you!
Comments
Nice! Great idea thanks for adding it to 2.1 first forum software that I know of that has it!
Very much approve of implementing TOTP 2FA.
excellent job, dev folks!
Sweet~! Many Thanks to the Team.
Great!!
that is wonderful and secure
Fair play, I'm liking security being given the attention it deserves.
sounds good specially for any user with advanced access of any form that can be a potential security issue
Love you so much. I have used SMF for 8 years and this is the best software in security.
Excellent news! SMF is really moving in the right direction.
Perfect to see security improvements in software.
We love you too for being with us for such long time
Quote from: saosangmo on December 07, 2014, 12:26:39 PM
Love you so much. I have used SMF for 8 years and this is the best software in security.
We love you too for being with us for such long time
Well done, great news
Looking forward to it!
sorry I'm late, BUT this looks Great!
regards,
maxx
regards,
maxx
I see the admin is able to force 2FA on everyone. I can see how that might be useful, depending on the type of forum you're running. But what would be even more useful is to be able to force 2FA on certain membergroups. For example, I wouldn't force it on all members on my forums, but I certainly would force it on Admins. I might also consider forcing it on membergroups with a lot of permissions, like global mods. So, I think an important feature to add would be to allow forcing of 2FA on different membergroups.
unlikely to happen as a core feature....
that's a fairly niche request
that's a fairly niche request
That's a shame. This is the first time I've read this thread and I thought the same thing as hadesflames ... it would be even better to force it on certain membergroups instead of or in addition to being able to select everyone.
I'd be in favour of it as a core feature.
I can understand the need for such a feature, both from a perspective of security as user friendliness.
I'd be in favor as well. Up to the devs though.
I'd be in favor as well. Up to the devs though.
I second the option of being able to force 2FA on a membergroup basis.
I am playing with this possibility locally (BTW, 2STP for iOS works great!) and this is actually easy to accomplish
Either in core (I'll discuss it with devs) or as a MOD, this will be possible
Either in core (I'll discuss it with devs) or as a MOD, this will be possible
Found this when looking for a mod to accomplish the same thing. Too bad it will be an unholy pain in the ... to rebuild my forum and all its customizations for the new version. Shame.
Though for the future, I also say it would be a good core feature to enforce on a group basis, most of my membership's heads would explode if they had it forced on them, but it seems almost necessary for my administration to be secure.
I also would like to request that Yubikey be added to the providers...its what I was looking to use...phones die or you use an insecure web app, but my keys are always with me and plugs right into the PC I'm using. Yubikey is YOTP or HOTP though, not TOTP unless assisted by an app.
Though for the future, I also say it would be a good core feature to enforce on a group basis, most of my membership's heads would explode if they had it forced on them, but it seems almost necessary for my administration to be secure.
I also would like to request that Yubikey be added to the providers...its what I was looking to use...phones die or you use an insecure web app, but my keys are always with me and plugs right into the PC I'm using. Yubikey is YOTP or HOTP though, not TOTP unless assisted by an app.
You can activate two-factor authentication with, for example, Google Auth on multiple devices as long as you scan the QR-Code with all of 'em or manually input the key.
Quote from: Jamie96 on April 02, 2015, 01:08:13 PMThe current version in Github already allows that
Though for the future, I also say it would be a good core feature to enforce on a group basis, most of my membership's heads would explode if they had it forced on them, but it seems almost necessary for my administration to be secure.
is this only on 2.1? is there anything similar for 2.0.12? if not, when will 2.1 be available as a stable release?
this is only on 2.1
nothing like this is made for 2.0
2.1 will be released when it is ready
nothing like this is made for 2.0
2.1 will be released when it is ready
I thought it was going to be released before it was ready
Quote from: lahmfan on October 31, 2016, 08:58:45 AM
I thought it was going to be released before it was ready
We actually release it before its ready and call it BETA