> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/security.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Security

This chapter provides information on security, such as authentication formats, SSL certificates, and network security.

## Authentication

### Format

On **Windows** machines, authentication must follow one of the following two formats:

* `netbios_domain_name\user`\
  For example: `atempo\mike`
* `user@fully_qualified_domain_name`\
  For example: `mike@us.atempo.network`

On **Linux** machines, the username format can be:

* `username` (for local login only)\
  For example: `mike`
* `user@fully_qualified_domain_name`\
  For example: `mike@us.atempo.network`

### Supported accounts

You must log in with an account that authorizes you to log in to the local machine.

On Windows, the login must be interactive rather than over the network.

## Two-factor authentication

Two-factor authentication is available in the Lina Administration Console and Configurator interfaces.

Enabling 2FA is either mandated by the superadministrator as a password policy setting, or initiated by users for their own account. When two-factor authentication is enabled, users must enter their credentials, as well as an additional code provided by an authentication app, to log in to the Lina Administration Console. The first time they log in, users must enable two-factor authentication on their account.

Administrators can disable two-factor authentication for a specific user by clicking the **Disable two-factor authentication** button in the user's details.

### Enabling two-factor authentication for your account

When two-factor authentication is required in your organization, you must enable it on your account before or when you log in to the Lina Administration Console.

1. Log in to the Lina Administration Console.
2. In the top-right corner of the screen, click your username, click **User account**, then go to the **Two-factor authentication** section.
3. Download the authentication app of your choice (Authy, Google Authenticator, Microsoft Authenticator, etc.).
4. Enter an authentication key in the app. A QR code and a 16-digit code are provided in the Lina Administration Console. They can be used as authentication keys. Once an authentication key is provided, the app generates a 6-digit code every 30 seconds.
5. At the bottom of the page, enter the 6-digit code provided by the authentication app, then click **Enable two-factor authentication**.

Once the code provided is correct, 3 buttons are displayed:

* **Disable two-factor authentication**: no code is required to disable it.
* **Delete backup codes:** backup codes can be used to log in to your user account if you lose access to your authentication app. This button deletes existing backup codes.
* **Generate new backup codes:** 10 single-use backup codes are provided under this button. These 8-digit backup codes disappear when you close the user's details. You can use this button to generate new backup codes if needed.

### Logging in to the Lina Administration Console interface

When two-factor authentication is enabled on your account, you can log in to the Lina Administration Console by following this procedure:

1. Enter your credentials.
2. Enter an additional code to confirm authentication. You can:
   1. Enter a security code provided every 30 seconds by the authentication app.
   2. Enter a backup code provided in the Lina Administration Console.
3. Enter a security or backup code, then click **Validate**.

To use the same code for 30 days, select **Extend code validity to 30 days.**

## Using a password policy

A password policy:

* Is a set of rules that improves password complexity and strengthens the overall security of your infrastructure.
* Protects your infrastructure against new threats, such as ransomware or social engineering.
* Can be applied to all users of one or all tenants in the Lina Administration Console.

{% hint style="info" %}
The strength of each password is checked by default, but only new users are required to change their password.

By default, passwords contain 12 characters, including 1 lowercase character, 1 uppercase character, 1 digit, and 1 special character.
{% endhint %}

**To implement a password policy**

{% stepper %}
{% step %}
**Select a tenant at the top of the page:**

* **All tenants** if you want to create a global configuration. This configuration applies to all users, including superadmins.
* A specific tenant if you want to create a local configuration.
  {% endstep %}

{% step %}
Go to **Settings > Security > Password Policy.**
{% endstep %}

{% step %}
Indicate whether a two-factor authentication policy should be required or not when a user logs in to the Lina Administration Console.

If a two-factor authentication policy is set to **Mandatory**, all users must enable a two-factor authentication policy. This rule does not apply to users who already use two-factor authentication.
{% endstep %}

{% step %}
Indicate whether a validity period should be applied to passwords:

* a. Click **Limit password validity.**
* b. Set a validity period for all passwords. This period can be set in days, weeks, or months.
  {% endstep %}

{% step %}
Strengthen the passwords used on the Lina Administration Console:

a. Click **Control password strength.**

b. Set a minimum length for passwords.

The minimum password length is a combination of characters imposed by the administrator and characters selected by the user.

For example, you specified that passwords must have a total length of <kbd>3</kbd> characters, with at least 1 digit and 1 lowercase character. As a result, new passwords must include a digit, a lowercase character, and an additional character that can be selected by the user: this character can be a digit, an uppercase or lowercase character, or a special character.

c. Set strength criteria to increase password complexity. A strong password contains a combination of digits, lowercase letters, uppercase letters, or special characters.

This new policy applies to all users, but they are not required to change their passwords.

d. (Optional) Click **Force users to change a weak password** if you want existing users to change passwords that do not comply with the password policy.

New passwords must be changed when a user logs in to the Lina Administration Console.
{% endstep %}

{% step %}
Click **Apply this configuration**
{% endstep %}
{% endstepper %}

To check events related to the password strategy, go to **Server > Events.** For more details, see [<mark style="color:blue;">Viewing the Server Events view.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/monitoring/statistics-and-reports.md#viewing-the-server-events-view)

## Audit log protection

A non-disableable signature (digest) is added to each log and chained to the previous log's signature.

This protection applies to Lina logs available through the AER generated by the administration interface, which are stored in a database.

This protection does not apply to logs available through the command-line AER, which are stored in a flat file.

```
Root/superadmin@localhost:8173> log audit HSS2|AUDIT|Mon Jan 19 16:38:14 2026|1768837094242810|874065|dedup_server.cpp:21108 @ audit| [PA03/superadmin@127.0.0.1]CMD=mqtt [93A3619C8EA035D9AB0B7924B3D7C5D5]|
HSS2|AUDIT|Mon Jan 19 14:54:26 2026|1768830866431262|852620|dedup_server.cpp:21108 @ audit| [PA03/superadmin@127.0.0.1]CMD=backup_synthetic [ED3B213B3C9718311D22E8133C7175AC]|
Root/superadmin@localhost:8173/> check_audit { "status": 0, "status_msg": "ASM_OK", "first_log_is_original": false }
Root/superadmin@localhost:8173/> exec_sql attach database '/home/lch/ADEmaster/INSTANCE/log/dedup_log.db' as dedup_log
Root/superadmin@localhost:8173/> exec_sql delete from dedup_log.dedup_log where date=1760008043347290
Root/superadmin@localhost:8173/> check_audit { "status": 20, "status_msg": "ASM_ERR_CHECKSUM", "first_log_is_original": false }
```

## Changing an administrator's password

This section explains how to change your own password. Your administrator can also change your password.

To change a user's password, see [<mark style="color:blue;">Creating and assigning rights to a local user.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/managing-users-and-user-rights.md#creating-and-assigning-rights-to-a-local-user)

**Changing your password on the Lina Administration Console login page**

A new password may be required if an administrator has implemented a new password policy and your current password does not meet the new requirements. To create a new password:

* Log in to the Lina Administration Console using your credentials.
* Enter a new password.
* Confirm your new password, then click **Validate new password**.

**Changing your password from the Lina Administration Console top menu**

1. In the top-right corner of the Lina Administration Console, select your username.
2. Click **User account > Password**.
3. Click **Change password**.
4. Enter your current password, then your new password. If an administrator has implemented a password policy, rules may appear to help you create a password that complies with that policy.
5. Confirm your new password.
6. Click **Save**.

You will be asked for your new password the next time you log in to the Lina Administration Console.

## Session timeout

When you are logged in to the Lina Administration Console, Web Restore, or Statistics interfaces, your session expires once the session timeout is reached. By default, the timeout is set to 4 hours (14,400 seconds). Once you reach the timeout, you must log in to the web interface again.

**To change the timeout value**

1. Open the Lina Administration Console.
2. Select **Settings > Tunables > Advanced > Web server.**
3. In <kbd>httpd.session\_timeout</kbd>, enter the validity duration in seconds. The new value is automatically saved.

## SSL certificate

By default, Lina provides a self-signed certificate to connect to the web interfaces (Lina Administration Console, Web Restore, and Statistics).

Such a certificate guarantees that data is encrypted as it travels across the network, but does not guarantee the user's identity. You can create your own self-signed certificate, or better yet, request your own certificate from a Certificate Authority to secure the connection to the web interfaces.

The default self-signed certificate file is a concatenation of a private key and a certificate. It is located at:

<kbd>\<ADE\_HOME>/conf/ssl\_cert.pem</kbd>

## Network encryption

This section describes the different types of network encryption used for Lina.

### Available connection modes

Here are the two available connection modes:

* **HTTPS**

When using an HTTPS connection, data is always encrypted with a 256-bit symmetric key. In addition, HTTPS lets agents verify the server's identity before sending data, through network certificates. This mode is well suited to WAN environments. Note that HTTPS mode consumes resources on the server.

* **HTTP**

In HTTP mode, there is no default encryption except for authentication information, which is always encrypted. This mode is well suited to LAN environments.

### Lina dynamic configuration

In Secure mode (HTTPS), agents connecting to the server verify its identity using the following certificates:

* **Server certificate**

The certificate file name is <kbd>server.pem</kbd>. It is located in the Ref directory of the Lina server installation directory. For example:

<kbd>E:\Program Files\Atempo\HyperStream\default\HSX\ref\server.pem</kbd>

* **Agent certificate**

The certificate file name is <kbd>cacert.pem</kbd>. It is located in the Ref directory of the Lina Agent installation directory. For example:

<kbd>C:\Program Files\Atempo\Atempo Lina\5.3.20991\Ref\cacert.pem</kbd>

If you change one of the certificates, you must also change the other to make sure they match.

## URL rewrite

This section explains how to change Lina URLs.

### Principle

To allow remote access to Lina services from the Internet, the reverse proxy must be able to know the URLs used to connect to the Lina server.

A client request directed to the reverse proxy must be internally converted into a request for the Lina server. The reverse proxy must also redirect the Lina server's response back to the client.

### Using relative URLs

There are four different Lina relative URLs to redirect.

#### **Standard backup and restore service**

/ALN. Standard backup and restore service. This service is required to be continuously protected when working remotely. It is important to set up traffic control when using this service, since many remote agents simultaneously sending large amounts of data could overload your Internet connection.

For security reasons, it is strongly recommended that agents connecting from the Internet use an encrypted connection.

#### Webrestore service

* **/ALNWEB.** Access to the Web Restore HTTP API.
* **/ALNRESTORE.** Download URL for single files and zip files.
* **/webrestore.** Lets you connect remotely to the Web Restore interface.

The proxy <https://proxy.public.com:8181/ALN/whatfollows> must be converted to <http://alnserver.internal.local:8181/ALN/whatfollows>.

If no information follows the port number, everything is converted.

<kbd>proxy.public.com</kbd> is the public address of the IIS server used as a reverse proxy,

<kbd>alnserver.internal.local</kbd> is the Lina server behind the firewall.

Converting the proxy is easy to do with URL Rewrite and IIS, but you must also have Application Request Routing (ARR) installed. If you do not have URL Rewrite and ARR installed, you can use the Web Platform Installer.

## About traffic control with Lina

### Using traffic control with Lina

A company's Internet connection bandwidth is limited, and a large number of remote users simultaneously sending backup data could overload your Internet connection. To avoid this, you can set up traffic control on your reverse proxy to restrict the total amount of Lina inbound and outbound data.

### Setup

The IIS server's Limits menu can be used to control traffic. You can use any other Windows-compatible Internet traffic control tool to perform this task. Please refer to the vendor's documentation for more details on setting up traffic control.

Linux administrators can use the "tc" command to control traffic. Please refer to the "tc" command's manual page for further details.

## Confidentiality of user data

To ensure data confidentiality, Lina can be configured to notify data owners by email that a web or cross restore is being performed on their data. When the restore operation is a cross restore from an agent whose user email has been provided, the user email will appear in the notification. For Web Restore, the user's email address will not appear in the notification.

To be notified by email, the following conditions must be met:

* Your administrator has enabled restore notifications in the Lina Administration Console.
* Your email address has been provided on your Lina Agent or in the Lina Administration Console. To add your email on your Lina Agent, see [<mark style="color:blue;">Providing an email address to identify the agent, otherwise contact your administrator.</mark>](https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/restore/web-restore.md#providing-an-email-address-to-identify-the-agent)

**To send notifications to users when their data is restored by other users:**

1. In the Lina Administration Console, go to Settings > Preferences.
2. Enable the option in the Restore Notification section.

## Configuring dynamic server access in a reverse proxy configuration

Depending on the corporate network infrastructure and the location of the Lina server, a mobile user may need to use different server access strings to access the Lina server.

Based on the network gateway name, dynamic server access automatically detects the network the agent is connected to and lets the Lina Agent connect using the appropriate server access string.

This section explains how to create a dynamic server access file and how to use it to connect to Lina.

### Step 1: Create a dynamic server access file

Under your agent's HNDB folder, create a file named ServerDynamicPaths.def, then edit it.

### Step 2: Configure the dynamic server access file

Administrators can configure a reverse proxy to access Lina services over the Internet. However, Lina agents need the name or public address of the reverse proxy in order to connect, and this name is different from the corporate network's Lina server name.

You can use both the special character <kbd>\*</kbd> and as many lines as needed.

The special character <kbd>\*</kbd> can replace all or part of a name or address. The first line matching the current gateway is used, and any subsequent line is ignored.

Rules must be ranked by priority order. The highest rule in the file takes precedence over the other rules.

**Standalone configuration**

In this configuration, you:

* Must enter a line that specifies the name or address of the corporate network gateway and the name or address of the Lina server on the corporate network.

The syntax to use for each network gateway is:

```
<corporate_gateway_name_or_adress>=<private_aln_server_name_or_adress>
```

For example: <kbd>gateway=alnserver</kbd> or <kbd>192.168.1.254=192.168.1.42</kbd>

* Can also enter a line that defines the public name or address of the reverse proxy as the current server name. The wildcard character \* is used to replace any gateway name, address, or part of it.

The syntax is:

```
*=<reverse_proxy_public_name_or_adress>
```

For example: <kbd>\*=myreverseproxy</kbd> or <kbd>\*=128.30.52.37</kbd>

Example: This is an example configuration for a client connecting to the Lina server via a reverse proxy when the gateway is different from its corporate gateway:

```
gateway=alnserver
*=myreverseproxy
```

**Multi-server configuration**

In this configuration, you:

* Must enter a line that specifies the name or address of the corporate network gateway and the name or address of the Lina master server on the corporate network. The syntax to use for each network gateway is:

```
<corporate_gateway_name_or_adress>=<private_aln_master_server_name_or_adress>
```

For example: <kbd>gateway=alnserver</kbd> or <kbd>192.168.1.254=192.168.1.42</kbd>

* Can also enter a line to manage node access. The syntax to use for each node is:

```
<corporate_gateway_name_or_adress>=<private_aln_master_server_name_or_adress>
```

## Connecting to Lina via a reverse proxy

Administrators can configure a reverse proxy to access Lina services over the Internet. However, Lina agents need the name or public address of the reverse proxy in order to connect, and this name is different from the corporate Lina network server name.

### Standalone configuration

In this configuration, you:

* Must enter a line that specifies the name or address of the corporate network gateway and the name or address of the Lina server on the corporate network.

The syntax to use for each network gateway is:

```
<corporate_gateway_name_or_address>=<private_aln_server_name_or_address>
```

For example: <kbd>gateway=alnserver</kbd> or <kbd>192.168.1.254=192.168.1.42</kbd>

* Can also enter a line that defines the public name or address of the reverse proxy as the current server name. The wildcard character \* is used to replace any gateway name, address, or part of it.

The syntax is:

```
*=<reverse_proxy_public_name_or_adress>
```

For example: <kbd>\*=myreverseproxy</kbd> or <kbd>\*=128.30.52.37</kbd>

For example. This is an example configuration for a client connecting to the Lina server via a reverse proxy when the gateway is different from its corporate gateway:

<kbd>gateway=alnserver</kbd>

<kbd>\*=myreverseproxy</kbd>

### Multi-server configuration

In this configuration, you:

* Must enter a line that specifies the name or address of the corporate network gateway and the name or address of the Lina master server on the corporate network.

The syntax to use for each network gateway is: <kbd>\<corporate\_gateway\_name\_</kbd> or <kbd>\_ adress>=\<private\_aln\_master\_server\_name\_or\_adress></kbd>

For example: <kbd>gateway=alnserver</kbd> or <kbd>192.168.1.254=192.168.1.42</kbd>

* Can also enter a line to manage node access. The syntax to use for each node is:

<kbd>\<corporate\_gateway\_name\_or\_adress>|\<node\_name\_or\_address>=\<private\_aln\_ node\_name\_or\_address></kbd>

## Detecting unusual or suspicious backup activity

You can detect unusual or suspicious backup activity on your agents:

* Unusual activity can be detected when an unusual amount of protected volume is sent from an agent to the server.
* Suspicious activity can be detected when an agent's compression rate undergoes a sudden change (for example, in the event of a cryptovirus attack). The compression rate is the ratio of the number of blocks calculated over the chosen time period used to compile the average activity.
* Suspicious activity detection can be enabled for all tenants at once at the server level by a superadministrator, or by an administrator for a specific tenant, with settings inherited from the server if no configuration is defined at the tenant level.

You can sort agents with suspicious or unusual activity using the **Alerts** filter in the agent list. An agent with unusual or suspicious activity can still be backed up.

**To detect unusual or suspicious backup activity:**

1. Select the tenant(s) for which you want to enable detection.
2. Go to **Settings > Security > Backup Activity**.
3. Enable the **Monitor backup activity** option.
4. Set the settings used to analyze backup activity:
   1. Set a frequency for the recurring analysis. This analysis can be set in hours, days, weeks, or months.
   2. Select a time period over which the average activity is compiled. This period can be set in days, weeks, or months.
5. Set the detection settings for triggering alerts:
   1. Set one or more thresholds for a specific number of modified files or added blocks, or for the volume transferred by the agent.
   2. Enable alerts for unusual and suspicious activity, then set a value for each alert type. The server only triggers an alert once one or more thresholds and the value defined for an alert type are reached.
6. (Optional) Click **Test this configuration** to check whether an agent meets all the criteria you have defined. Testing your configuration does not generate an alarm.
7. Click **Apply this configuration**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/administration-guide/settings/security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
