SMF Mod Site

Mod Name:
Swekey Hardware Authentication
Created By:
Security and Moderation
First Created:
April 06, 2009, 04:22:13 AM
Last Modified:
September 06, 2011, 10:32:19 AM
Latest Version:
Compatible With:
1.1.8, 2.0 RC1
Total Downloads:

Download this mod

smf-swekey-1.0.tgz (20kB) [707]
smf-swekey-1.2.tgz (21kB) [1076]
Manual Install Instructions for SMF


The swekey is an USB authentication key.

If you use this mod, swekey owners will be able to secure their SMF access using hardware authentication.

It means that a swekey owner won't be able to login if its swekey is not plugged to its computer.

How it works:

This mod adds a little key logo at the right of the 'username' input box of  the login form. When the key is gray it means that there is no swekey plugged, if it turns green a swekey is detected.

The first time a user will plug its swekey in its computer while he his logged an alert will popup asking him to attach the plugged swekey to his account.

If the user confirms, the swekey is then attached to the account.

Once a swekey is attached to an account the following features will be available:

  • When your swekey is plugged the login dialog will automatically fill the 'username' input box.
  • You won't be able to login without the swekey plugged.
  • If you unplug your swekey while you are logged, you are automatically logged out.
  • You can detach the swekey from your account in your profile.

Version History

1.2 Moved the swekey directory out of the 'Sources' dir

1.1 xHTML compliance problem fixed

1.0 Initial release


Demo (try user 'demo' password 'demo123', this account is swekey protected)

You can purchase a swekey at the swekey store