Eric Traut
09bc28f348
Restrict Windows IDE pipe client impersonation ( #39020 )
...
## Why
Windows named pipe servers can impersonate connected clients. IDE context
connections only require the server to identify the client, so they should not
grant broader impersonation rights.
## What changed
Open Windows IDE context pipes with `SECURITY_SQOS_PRESENT` and
`SECURITY_IDENTIFICATION`, limiting the server's impersonation token to the
identification level.
## Testing
Add a Windows regression test that connects to a named pipe, asks the server to
impersonate the client, and verifies that the resulting token has the
`SecurityIdentification` level.
GitOrigin-RevId: 51ef080f3367857987e03b0113a476040ea40e56
2026-08-17 16:34:21 +00:00
..
2026-08-17 04:01:37 +00:00
2026-08-14 16:33:28 +00:00
2026-08-16 21:48:41 +00:00
2026-08-17 04:01:37 +00:00
2026-08-17 00:32:09 +00:00
2026-08-14 20:23:49 +00:00
2026-08-17 00:32:09 +00:00
2026-08-17 16:34:21 +00:00
2026-08-13 04:08:23 +00:00
2026-08-16 05:59:34 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 14:01:31 +00:00
2026-08-14 20:23:49 +00:00
2026-07-29 18:40:38 +00:00
2026-08-16 23:05:11 +00:00
2026-08-14 16:33:28 +00:00
2026-08-16 03:14:17 +00:00
2026-08-13 00:34:39 +00:00
2026-08-07 00:37:50 +00:00
2026-08-14 20:23:49 +00:00
2026-08-14 20:30:30 +00:00
2026-07-21 19:17:18 +00:00
2026-08-13 00:30:08 +00:00
2026-07-21 14:25:18 +00:00
2026-07-15 01:07:29 +00:00
2026-08-16 19:48:07 +00:00
2026-07-22 23:45:45 +00:00
2026-06-15 19:25:54 -07:00
2026-08-17 04:01:37 +00:00
2026-08-16 19:48:07 +00:00
2026-06-17 19:52:43 +02:00
2026-07-23 23:13:59 +00:00
2026-08-04 16:53:33 +00:00
2026-08-17 00:32:09 +00:00
2026-08-11 19:16:15 +00:00
2026-08-07 00:05:41 +00:00
2026-08-14 20:23:49 +00:00
2026-08-10 11:22:55 +00:00
2026-08-11 21:12:23 +00:00
2026-08-16 03:14:17 +00:00
2026-08-16 03:14:17 +00:00
2026-08-04 16:53:33 +00:00
2026-07-29 03:50:00 +00:00
2026-06-12 17:14:27 -07:00
2026-08-13 04:08:23 +00:00
2026-08-13 04:08:23 +00:00
2026-08-16 01:31:22 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-08-16 05:59:34 +00:00
2026-08-17 04:01:37 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-06-24 03:10:20 +00:00
2026-08-11 19:16:15 +00:00
2026-06-26 19:27:31 +00:00
2026-06-26 19:27:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-19 16:50:54 +00:00
2026-07-18 18:00:51 +00:00
2026-07-12 19:18:37 +00:00
2026-08-14 20:23:49 +00:00
2026-07-17 23:07:40 +00:00
2026-08-05 20:44:03 +00:00
2026-08-17 04:01:37 +00:00
2026-08-14 20:30:30 +00:00
2026-08-04 19:12:46 +00:00
2026-07-21 19:17:18 +00:00
2026-08-14 16:37:40 +00:00
2026-08-14 16:37:40 +00:00
2026-08-17 04:01:37 +00:00
2026-07-29 13:53:15 +00:00
2026-08-03 23:05:35 +00:00
2026-08-13 19:35:22 +00:00
2026-07-21 20:13:08 +00:00
2026-08-14 20:59:34 +00:00
2026-06-18 15:06:23 -07:00
2026-07-20 15:44:37 +00:00
2026-08-16 19:48:07 +00:00
2026-08-16 05:59:34 +00:00
2026-08-15 17:30:13 +00:00
2026-08-15 05:53:54 +00:00
2026-08-15 17:30:13 +00:00
2026-08-14 20:38:52 +00:00
2026-08-14 20:38:52 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 13:53:15 +00:00
2026-08-16 01:34:51 +00:00
2026-07-27 17:59:06 +00:00
2026-08-14 20:23:49 +00:00
2026-08-13 00:30:08 +00:00
2026-06-10 17:55:49 -07:00
2026-07-29 14:01:31 +00:00
2026-08-13 04:08:23 +00:00
2026-07-28 20:12:13 +00:00
2026-08-04 19:05:45 +00:00
2026-08-15 17:30:13 +00:00
2026-08-14 20:30:30 +00:00
2026-07-06 16:33:13 -04:00
2026-07-08 12:17:58 -04:00
2026-08-14 20:23:49 +00:00
2026-06-12 09:26:08 -07:00
2026-06-12 09:26:08 -07:00
2026-07-28 19:58:25 +00:00
2026-07-29 14:01:31 +00:00
2026-06-11 09:23:08 -07:00
2026-06-11 18:16:39 -07:00
2026-06-22 04:25:07 -07:00
2026-06-22 04:25:07 -07:00
2026-07-29 14:01:31 +00:00