# RestrictionsConfig

**Kind**: interface | **Module**: [Channels](https://docs.interop.io/desktop/reference/javascript/channels/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/channels/restrictionsconfig/index.html

Restrictions applied to a window for publishing or subscribing to all Channels.

*Since: io.Connect Desktop 9.3, @interopio/desktop 6.3.1*

## Properties

- **`read`** (`boolean`, required)
  If `true`, the window will be able to subscribe to the specified Channel.
- **`windowId`** (`string`, optional)
  ID of the window for which apply the restrictions for publishing or subscribing to Channels.
- **`write`** (`boolean`, required)
  If `true`, the window will be able to publish to the specified Channel.
