# Policies

Source: https://docs.neode.sk/console/policies/
Last updated: 2026-12-03

> Set session approval, features, passwords, network routes and updates for every computer in an organization, and see which settings apply today.

A policy is a set of rules for every computer in one
[organization](https://docs.neode.sk/people/organizations.md): how a remote session starts, what
an operator may use in it, password rules, which way connections take, and
how the app updates. Open it under **Rules**, **Policies** in the sidebar.

Policies belong to organizations only. There is no policy per folder, per
group or per computer, and nothing inherits from another organization. A
computer that is in no organization gets no policy.

Only the four admin roles open the page: Super admin, Administrator, Server
admin and Global admin. Changing a policy also needs **Edit organizations**.
An admin without it, a Server admin by default, sees the page read-only.

## Choose an organization

The page starts with the **Organization** list and the organizations below it.
Pick one, and the address changes to that organization's page, so you can
bookmark it. With only one organization the page opens it at once.

![The policies of Mossgate Labs: the organization picker with the device count, and the Connection group with three rules set](https://docs.neode.sk/shots/policies-light.png)

Next to the picker, a line says how many devices are in the organization and
that devices outside any organization get no policy. **Put devices into this
organization** opens the organization's **Devices** tab. A computer also joins
an organization when it enrolls with a token that names one under
**Policies**; see [Join requests](https://docs.neode.sk/console/enrollment.md).

## Set a rule

Every setting starts at **Not set**, which means no rule: each device keeps
its own setting. An on or off setting offers **Not set**, **On** and **Off**,
a choice offers **Not set (each device decides)** first, and a number field
or a list stays empty. Pick a value to set a rule. **Remove the rule** next to
a set value takes it away again.

Change as many settings as you need, then click **Save policies** in the bar
at the bottom. The console saves only the groups you changed and offers
**Undo** for a moment afterwards. **Remove all rules of this group** at the
top of a group clears the whole group at once, after a question.

The filter field above the groups finds a setting by its name.

## The settings

| Group | Setting | Values |
|---|---|---|
| Connection | **Session approval** | **Attended: the person at the device must accept**, **Unattended: connect without asking** or **Always ask** |
| Connection | **Longest session (minutes)** | 0 to 1440 |
| Connection | **Lock after inactivity (minutes)** | 0 to 120 |
| Connection | **Desktop wallpaper during a session** | **Show**, **Hide during a session** or **Always hide** |
| Features | **Allow file transfer**, **Allow copy and paste between the computers**, **Allow sound from the device**, **Allow session recording**, **Allow printing to the operator's printer** | On or off |
| Security | **Require two-factor sign-in for unattended access** | On or off |
| Security | **Minimum password length** | 6 to 128 characters |
| Security | **Require special characters in passwords** | On or off |
| Security | **Passwords expire after (days)** | 0 to 365, 0 is never |
| Security | **Staff who may connect without asking** | A list of account usernames, one per row |
| Security | **People can remove the app** | On or off |
| Security | **Shell on devices without a desktop** | On or off, see [Servers without a desktop](https://docs.neode.sk/console/servers-without-a-desktop.md#policy) |
| Security | **Sign-in for shell and files** | **Console account** or **Device password** |
| Network | **Always connect through a relay server** | On or off |
| Network | **Allowed relay servers** | A list of host names or addresses, with a port if needed |
| Network | **Allowed IP ranges** | A list of addresses or ranges such as `192.168.1.0/24` |
| Updates | **Install updates automatically** | On or off |
| Updates | **Update channel** | **Stable** or **Beta** |

## What takes effect today

A saved policy is stored for the organization and handed to every computer
that asks for it, but not every setting has something that applies it yet.
Each group on the page says so in a note, and the notes of the groups the
apps apply also say from which version and that RustDesk apps from
rustdesk.com don't read the policy.

- **Network** is applied by the server itself, for new connections, within a
  minute of saving, except **Allowed IP ranges**, which the computers apply
  (see [Features and allowed IP ranges](#features-and-allowed-ip-ranges)).
  With **Always connect through a relay server** on, a session where either
  computer is in the organization never goes directly between the two
  computers. **Allowed relay servers** makes such a session use the server's
  relay when it is in the list, and the first entry of the list otherwise. A
  [relay node](https://docs.neode.sk/operations/sites-and-relay-nodes.md) whose address isn't in
  the list is skipped.
- While **Always connect through a relay server** is not set, the row shows
  the server's own connection strategy under **Settings**, **General**, with
  a link there. Its first choice is **Server value** instead of **Not set**.
- [NeoDesk Companion](https://docs.neode.sk/console/companion.md#unattended-access) applies
  **Session approval**, **Staff who may connect without asking** and
  **People can remove the app**, and from version 0.0.15 the **Features**
  and **Allowed IP ranges**. It asks for its policy every five minutes.
- NeoDesk Desktop applies **Session approval** and **Staff who may
  connect without asking**, and from version 1.6.0-rc.2 the **Features** and
  **Allowed IP ranges**, only when it is enrolled and the console is on
  HTTPS; see
  [Session approval from the policy](https://docs.neode.sk/console/unattended-access.md#session-approval-from-the-policy).
- NeoDesk Desktop and installed NeoDesk Companions apply **Install updates
  automatically**, and Desktop also applies **Update channel**. The apps get
  both with their next heartbeat.
- [NeoDesk on a server without a desktop](https://docs.neode.sk/console/servers-without-a-desktop.md#policy)
  applies **Shell on devices without a desktop**, **Sign-in for shell and
  files**, **Allow file transfer** for its file sessions and **Allowed IP
  ranges**.
- No app applies the other settings yet. The rest of Security and the rest of
  Connection are saved and wait for a client release that reads
  them.

RustDesk apps from rustdesk.com, and NeoDesk apps older than the versions
above, don't read the policy, so the settings the apps apply don't hold on
a computer that runs one. To turn a feature off for sessions to such a
computer, switch it off in the
[client features](https://docs.neode.sk/people/permissions.md#client-features) of the people
who connect: the server sends those with each session, and RustDesk 1.4.5
or later follows them.

### Features and allowed IP ranges

A switch of **Features** set to **Off** turns the feature off in every
session to the organization's computers, whatever the computer's own
setting and the operator's [client features](https://docs.neode.sk/people/permissions.md#client-features)
say. The person at the computer can't switch it back on in the session
window either. **On** and **Not set** leave the feature to the computer's
own setting: a policy never turns on what someone switched off on the
computer.

| Setting | When it is off |
|---|---|
| **Allow file transfer** | No file transfer session, and no copying files through the clipboard. |
| **Allow copy and paste between the computers** | No shared clipboard. |
| **Allow sound from the device** | The operator hears no sound from the computer. |
| **Allow session recording** | The operator can't record the session in their app, and the server records none of the computer's sessions, whatever the [recording rules](https://docs.neode.sk/console/recordings.md) say. |
| **Allow printing to the operator's printer** | Nothing printed on the computer comes out of the operator's printer. Only Windows computers offer this printing. It has its own switch: file transfer off doesn't turn it off. |

With **Allowed IP ranges**, the computers take a session only from an
address in one of the ranges and refuse every other with "Your ip is
blocked by the peer". The address is the other computer's for a direct
connection, and the address the server saw the session's request come from
for a connection through it, which is the public address of the network
when the operator sits behind a router. An empty list is no rule.

The computers apply both to sessions that start after they read the
policy, at the latest five minutes after you save. A session that is
already open keeps what it has.

## Device passwords

Accounts with **Set device passwords** see a **Device passwords** section
above the recent changes. It says how the server keeps the permanent
passwords of the organization's computers: **Each computer gets its own
password, generated by the server**, **Change the password every (days)** and
**Change the password after each session**, saved with **Save policy**.
**Set passwords now** sets them at once for every computer of the
organization. This section saves on its own and doesn't go through the
save bar. [Device passwords](https://docs.neode.sk/console/device-passwords.md) explains the rest.

## Recent changes

**Recent changes** at the end of the page lists the saves of this
organization's policies, newest first: when, which group and who saved it.
Each save is also an entry in the
[audit log](https://docs.neode.sk/console/activity.md), as "Organization policy changed".
