---
title: "Further Actions"
manual: "TYPO3 Explained"
version: "11.5"
permalink: "https://docs.typo3.org/permalink/t3coreapi:security-administrators-furtheractions@11.5"
source: "Security/GuidelinesAdministrators/FurtherActions.rst"
rendered: "2026-10-21T15:30:00+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v11 has reached end-of-life as of October 31th 2024 and
> is no longer being maintained. Use the version switcher on the top
> left of this page to select documentation for a supported version of TYPO3.
>
> Need more time before upgrading?
> You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

# Further Actions {#security-administrators-furtheractions}

## Hosting environment {#hosting-environment}

A system administrator is usually responsible for the entirety of an
IT infrastructure. This includes several services (e.g. web server,
mail server, database server, SSH, DNS, etc.) on one or on
several servers. If one component is compromised, it is likely that
this opens holes to attack other services.

As a consequence, it is desired to secure all components of an IT
infrastructure and keep them up-to-date and secure with only a little
or no dependencies to other system. It is also wise to abandon
services which are not necessarily required (e.g. an additional
database server, `DNS` server, `IMAP/POP3` server, etc.). In short words:
keep your hosting environment as slim as possible for performance and
security purposes.

## Security-related PHP settings {#security-related-php-settings}

Due to the fact that TYPO3 is a PHP application, secure PHP settings
are also important, of course. PHP settings, such as `open_basedir`,
`disable_functions` often improve the security of your system and should be considered.

In use cases where you rely on outbound connections and your php comes without support
for curl it might be required to set `allow_url_fopen` to true.

Note that disallowing remote connections (e.g. by blocking outgoing traffic on a firewall in
front of the TYPO3 server) may have an impact on the retrieval of the
TYPO3 extension list, which allows you to check if extension updates
are available, or on retrival of translation files.

## Events in TYPO3 Log Files {#events-in-typo3-log-files}

Login attempts to the TYPO3 backend, which are unsuccessful, are logged
using the TYPO3 logging API. It is possible to create a dedicated
logfile for messages from TYPO3 authentication classes which can be
handled by external tools, such as [fail2ban](https://www.fail2ban.org).

Example logging configuration:

**typo3conf/AdditionalConfiguration.php**

```php
$GLOBALS['TYPO3_CONF_VARS']['LOG']['TYPO3']['CMS']['Core']['Authentication']['writerConfiguration'] = [
    \TYPO3\CMS\Core\Log\LogLevel::INFO => [
        \TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
            'logFile' => \TYPO3\CMS\Core\Core\Environment::getVarPath() . '/log/typo3_auth.log',
        ]
    ]
];
```

## Defending Against Clickjacking {#security-administrators-furtheractions-clickjacking}

Clickjacking, also known as *user interface (UI) redress attack* or
*UI redressing*, is an attack scenario where an attacker tricks a web
user into clicking on a button or following a link different from what
the user believes he/she is clicking on. This attack can be typically
achieved by a combination of stylesheets and iframes, where multiple
transparent or opaque layers manipulate the visual appearance of a HTML
page.

To protect the backend of TYPO3 against this attack vector, a HTTP
header `X-Frame-Options` is sent, which prevents embedding backend pages
in an iframe on domains different than the one used to access the
backend. The `X-Frame-Options` header has been officially standardized as
[RFC 7034](https://datatracker.ietf.org/doc/html/rfc7034).

System administrators should consider enabling this feature at the
frontend of the TYPO3 website, too. A configuration of the Apache
web server would typically look like the following:

**.htaccess**

```apacheconf
<IfModule mod_headers.c>
  Header always append X-Frame-Options SAMEORIGIN
</IfModule>
```

The option `SAMEORIGIN` means, that the page can only be displayed in
a frame on the same origin as the page itself. Other options are `DENY`
(page cannot be displayed in a frame, regardless of the site attempting
to do so) and `ALLOW-FROM [uri]`\` (page can only be displayed in a frame
on the specified origin).

Please understand that detailed descriptions of further actions on a
server-level and specific PHP security settings are out of scope of
this document. The TYPO3 Security Guide focuses on security aspects of
TYPO3.
