Giter Site home page Giter Site logo

hoppermann / mod-authn-otp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from archiecobbs/mod-authn-otp

0.0 1.0 0.0 143 KB

Apache module for one-time password authentication

License: Apache License 2.0

Shell 1.69% C 85.04% Makefile 1.81% M4 2.93% Roff 8.54%

mod-authn-otp's Introduction

Overview

mod_authn_otp is an Apache web server module for two-factor authentication using one-time passwords (OTP) generated via the HOTP/OATH algorithm defined in RFC 4226. This creates a simple way to protect a web site with one-time passwords, using any RFC 4226-compliant token device, including software tokens that run on cell phones such as OATH Token. mod_authn_otp also supports the Mobile-OTP algorithm.

mod_authn_otp supports both event and time based one-time passwords. It also supports "lingering" which allows the repeated re-use of a previously used one-time password up to a configurable maximum linger time. This allows one-time passwords to be used directly in HTTP authentication without forcing the user to enter a new one-time password for every page load. No additional infrastructure other than the mod_authn_otp module is required to add one-time password support to any Apache web server.

mod_authn_otp supports both basic and digest authentication, and will auto-synchronize with the user's token within a configurable maximum offset (auto-synchronization is not supported with digest authentication).

mod_authn_otp is especially useful for setting up protected web sites that require more security than simple username/password authentication yet also don't require users to install special VPN software.

Also included is otptool, a one-time password command line utility. otptool can be used on a simple call-out basis to integrate two-factor authentication into any existing authentication solution.

Details

See the wiki for a detailed description including supported Apache configuration directives.

  • Configuration: How to configure the Apache 2.x server
  • OneTimePasswords: How one-time passwords work and how they integrate with HTTP authentication
  • Tokens: Getting tokens for use with mod_authn_otp
  • UsersFile: The users database
  • DigestAuthentication: Limitations of mod_authn_otp when used with HTTP digest authentication
  • SecurityConsiderations: Security considerations when using one-time passwords for HTTP authentication
  • OTPTool: Man page for the otptool command line utility

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.