Skip to content

Commit 1f7a233

Browse files
authored
Update security_best_practices.mdx
1 parent ed48a8e commit 1f7a233

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/specification/draft/basic/security_best_practices.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,3 @@ MCP servers **SHOULD** bind session IDs to user-specific information.
228228
When storing or transmitting session-related data (e.g., in a queue), combine the session ID with information unique to the authorized user, such as their internal user ID. Use a key format like `<user_id>:<session_id>`. This ensures that even if an attacker guesses a session ID, they cannot impersonate another user as the user ID is derived from the user token and not provided by the client.
229229

230230
MCP servers can optionally leverage additional unique identifiers.
231-
Where appropriate, consider incorporating other unique attributes into the session key, such as the source IP address. This adds another layer of defense, making it more difficult for attackers to hijack sessions from different locations.

0 commit comments

Comments
 (0)