Skip to content

Commit 72fbc06

Browse files
authored
Add warning
1 parent e23a8f4 commit 72fbc06

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/container-apps/sessions.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,16 @@ For code interpreter sessions, you can also use an integration with an [LLM fram
7979

8080
The session identifier is critical and sensitive information that must be securely created and managed. It's important to secure your application to ensure each user or tenant only has access to their own sessions.
8181

82-
The specific strategies to prevent misuse of session identifiers differ depends on the design and architecture of your app. However, your app must always have full control over the creation and use of session identifiers so that a malicious user cannot access another user's session. Some example strategies include:
82+
The specific strategies to prevent misuse of session identifiers differ depends on the design and architecture of your app. However, your app must always have complete control over the creation and use of session identifiers so that a malicious user cannot access another user's session.
83+
84+
Some example strategies include:
8385

8486
* If your app uses one session per user, each user must be securely authenticated and your app must use a session identifier that is unique to each logged in user.
8587
* If your app uses one session per AI agent conversation, ensure your app uses a session identifier that is unique to each conversation and can't be modified by the end user.
8688

89+
> [!IMPORTANT]
90+
> Failure to secure access to sessions may result in misuse or unauthorized access to data stored in your users' sessions.
91+
8792
### Authentication
8893

8994
Authentication is handled using Microsoft Entra (formerly Azure Active Directory) tokens. Valid Microsoft Entra tokens are generated by an identity belonging to the *Azure ContainerApps Session Executor* and *Contributor* roles on the session pool.

0 commit comments

Comments
 (0)