This tutorial shows you how to protect ownCloud logins with two factor authentication by using privacyIDEA to manage the second authentication factor. privacyIDEA is a system to manage authentication devices for two factor authentication in your own network – not at any Identity Provider – thus keeping your identity and the identities of your users also under your control.
Read more at HowtoForge