<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Whitelist on PlumePHP</title><link>https://plumephp.com/tags/whitelist/</link><description>Recent content in Whitelist on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 27 Sep 2026 12:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/whitelist/index.xml" rel="self" type="application/rss+xml"/><item><title>GraphQL 持久化查询与生产安全：从 APQ 到白名单的完整方案</title><link>https://plumephp.com/graphql-persisted-queries/</link><pubDate>Sun, 27 Sep 2026 12:00:00 +0800</pubDate><guid>https://plumephp.com/graphql-persisted-queries/</guid><description>&lt;p&gt;GraphQL 的即席查询（ad-hoc query）能力是双刃剑：它让开发者灵活取数，也让攻击者可以构造任意查询。**持久化查询（Persisted Queries）**通过&amp;quot;把查询固化在服务端、客户端只发送哈希&amp;quot;的方式，从根上收紧了 GraphQL 的攻击面。本文先讲清 APQ（Automatic Persisted Queries）的原理，再给出从白名单、操作哈希、复杂度强化到 CSRF 防护的完整生产安全方案，并附 Apollo 生态的落地集成方式。&lt;/p&gt;</description></item></channel></rss>