小编bla*_*d0t的帖子

如何在Google Chrome中停用SPDY

我想知道如何在Google Chrome中使用SPDY协议自动停用.我需要进行一些与IDS相关的测试,为此我想暂时使用HTTP SSL而不是SPDY访问Twitter或Google.

甚至可以选择在Chrome中禁用它吗?我在谷歌上找不到任何东西.

问候!

google-chrome http spdy

14
推荐指数
1
解决办法
4万
查看次数

低完整性到中/高完整性管道安全描述符

我在创建NamedPipe时遇到了设置安全描述符的问题.我希望从中等和低完整性过程打开在Windows服务中创建的管道(高完整性).

我正在使用Windows 7 x64.我不太明白我在这里做什么,但这里是我用来为我创建的管道创建安全描述符的代码.以下代码不允许我打开从低完整性过程中创建的高中和中等完整性管道:



    PSID psidWorldSid = NULL, pAdminSID = NULL, pLowSID = NULL, pHighSID = NULL;
    WCHAR wszIntegritySid[] = L"S-1-16-4096";
    WCHAR wszSystemSid[] = L"S-1-16-16384";
    PACL pACL = NULL;
    PSECURITY_DESCRIPTOR pSD = NULL;
    SECURITY_ATTRIBUTES sa;
    SID_IDENTIFIER_AUTHORITY SIDAuthNT = SECURITY_NT_AUTHORITY;
    SID_IDENTIFIER_AUTHORITY siaWorldSidAuthority = SECURITY_WORLD_SID_AUTHORITY;
    EXPLICIT_ACCESS ea[4];

    //  Create a security descriptor for the log file that allows
    //  access from both the privileged service and the non-privileged
    //  user mode programs

    AllocateAndInitializeSid(&siaWorldSidAuthority, 1,
        SECURITY_WORLD_RID,
        0, 0, 0, 0, 0, 0, 0, …
Run Code Online (Sandbox Code Playgroud)

windows winapi named-pipes

6
推荐指数
2
解决办法
3240
查看次数

标签 统计

google-chrome ×1

http ×1

named-pipes ×1

spdy ×1

winapi ×1

windows ×1