使用范围的完整性


\Integrity using scopes

在范围上将完整性设置为 true 会将清单中未找到的任何资源的完整性设置为 true

\Setting an integrity to true on a scope will set the integrity for any resource not found in the manifest to true.

在范围上将完整性设置为 null 会将清单中未找到的任何资源的完整性设置为匹配失败。

\Setting an integrity to null on a scope will set the integrity for any resource not found in the manifest to fail matching.

不包括完整性与将完整性设置为 null 相同。

\Not including an integrity is the same as setting the integrity to null.

如果显式地设置了 "integrity",则将忽略用于完整性检查的 "cascade"

\"cascade" for integrity checks will be ignored if "integrity" is explicitly set.

以下示例允许加载任何文件:

\The following example allows loading any file:

{
 "scopes": {
 "file:": {
 "integrity": true
 }
 }
} 

AltStyle によって変換されたページ (->オリジナル) /