Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xperseguers/t3ext-mfa-protect

Protect rendering of sensitive content elements with MFA
https://github.com/xperseguers/t3ext-mfa-protect

Last synced: 1 day ago
JSON representation

Protect rendering of sensitive content elements with MFA

Awesome Lists containing this project

README

        

# MFA Protect

This extension lets you force the use of a recent MFA token before rendering a
content element.

This may be used together with standard access restrictions in TYPO3 such as
being part of one or more Frontend user groups.

This screenshot shows how a given content element will be protected:

![Protected content][protected-content]

[protected-content]: https://raw.githubusercontent.com/xperseguers/t3ext-mfa-protect/master/Documentation/Images/protected-content.png "Protected content"

## Installation

Install the extension either from
[TYPO3 Extension Repository (TER)](https://extensions.typo3.org/extension/mfa_protect/),
or from packagist.org with Composer:

```bash
composer require causal/mfa-protect
```

In addition, you will need some extension adding support for Frontend MFA. At the
time of writing, the only one the author can think of is its own extension
[EXT:mfa_frontend](https://extensions.typo3.org/extension/mfa_frontend).

You may install it either from TER as well, or with Composer:

```bash
composer require causal/mfa-frontend
```

## Configuration

Include the static template "Protect MFA" to your (main) TypoScript template.

You can then use the Constants Editor or pure TypoScript to override the template
location and the validity of the MFA token (it defaults to 30 minutes).

**Hint:** the validity of the MFA token supports
[stdWrap](https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/Functions/Stdwrap.html) :-)

## Usage

Edit any content element, switch to Access and toggle the MFA protect flag. That's it!

![Access flag][access-flag]

[access-flag]: https://raw.githubusercontent.com/xperseguers/t3ext-mfa-protect/main/Documentation/Images/access-flag.png "Access Flag"