---
title: Restricting a target session to certain virtual server IDs
description: You can enforce integration requirements by restricting a target session to certain virtual server IDs when you multiplex one connection for multiple environments.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:pf_restricting_target_session_certain_virtual_server_ids
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/pf_restricting_target_session_certain_virtual_server_ids.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 8, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  result: Result
---

# Restricting a target session to certain virtual server IDs

You can enforce integration requirements by restricting a target session to certain virtual server IDs when you multiplex one connection for multiple environments.

## About this task

For more information, see [Multiple virtual server IDs](../introduction_to_pingfederate/virtual_server_id.html). On the **Virtual Server IDs** tab, follow these steps to restrict a target session to a certain virtual server ID. By default, no restriction is imposed.

## Steps

1. Select the **Restrict Virtual Server IDs** checkbox.

2. Select thevirtual server IDs that you want to allow for this target session.

## Result

If you are editing a currently mapped adapter instance or authentication policy contract (APC), you can toggle the **Restrict Virtual Server IDs** setting. You can also change the allowed virtual server IDs.
