SecurityPolicySection クラス
セキュリティ ポリシー ファイルとその信頼レベル名の間のマッピングのコレクションを定義します。
構文
class SecurityPolicySection : ConfigurationSectionWithCollection
メソッド
次の表に、SecurityPolicySection
クラスによって公開されるメソッドの一覧を示します。
名前 | 説明 |
---|---|
[追加] | (ConfigurationSectionWithCollection から継承。) |
Clear | (ConfigurationSectionWithCollection から継承。) |
Get | (ConfigurationSectionWithCollection から継承。) |
GetAllowDefinition | (ConfigurationSection から継承。) |
GetAllowLocation | (ConfigurationSection から継承。) |
削除 | (ConfigurationSectionWithCollection から継承。) |
RevertToParent | (ConfigurationSection から継承。) |
SetAllowDefinition | (ConfigurationSection から継承。) |
SetAllowLocation | (ConfigurationSection から継承。) |
プロパティ
次の表は、SecurityPolicySection
クラスによって公開されるプロパティの一覧です。
名前 | 説明 |
---|---|
Location |
(ConfigurationSection から継承。)キー プロパティ。 |
Path |
(ConfigurationSection から継承。)キー プロパティ。 |
SectionInformation |
(ConfigurationSection から継承。) |
SecurityPolicy |
セキュリティ ポリシー ファイルを名前付きセキュリティ信頼レベルにマップする、読み取り/書き込み TrustLevel 値の配列。 セキュリティ ポリシーを ASP.NET アプリケーションに適用するには、TrustSection クラスの Level プロパティで信頼レベルの名前を指定します。 |
サブクラス
このクラスにはサブクラスが含まれていません。
解説
このクラスは、サイト レベルの構成 (Web.config) ファイルでのみ有効です。
ASP.NET とポリシー ファイルの詳細については、「ASP.NET の信頼レベルとポリシー ファイル」および「セキュリティ ポリシーの管理」を参照してください。
継承階層
ConfigurationSectionWithCollection
SecurityPolicySection
要件
型 | 説明 |
---|---|
クライアント | - Windows Vista 上の IIS 7.0 - Windows 7 上の IIS 7.5 - Windows 8 上の IIS 8.0 - Windows 10 上の IIS 10.0 |
[サーバー] | - Windows Server 2008 上の IIS 7.0 - Windows Server 2008 R2 上の IIS 7.5 - Windows Server 2012 上の IIS 8.0 - Windows Server 2012 R2 上の IIS 8.5 - Windows Server 2016 上の IIS 10.0 |
Product | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
MOF ファイル | WebAdministration.mof |
参照
ConfigurationSectionWithCollection クラス
TrustLevel クラス
TrustSection クラス
ASP.NET の信頼レベルとポリシー ファイル
セキュリティ ポリシーの管理