XSLT からの SQL Server アクセスを無効にする
Version: 10.1
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
適用対象 |
すべての core ロール |
Sitecore Installation Framework |
XSLT からの SQL Server アクセスは、デフォルトで無効になっていません。 |
Azure Toolkit |
XSLT からの SQL Server アクセスは、デフォルトで無効になっていません。 |
Sitecore には、SQL Server で使用するための xslExtension ヘルパーが含まれています。
次の場合は、xslExtension ヘルパーを無効にすることを強くお勧めします。
-
必要ない場合。
-
Sitecore XSLT レンダリングを使用していない場合。
xslExtension ヘルパーを無効にするには:
-
App_Config/Include
フォルダーで、パッチ ファイルを作成します。このファイルに、.config
拡張子を含む名前を付けます。 -
パッチ ファイルに次のコードを挿入します。
RequestResponse
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<!-- disable XSLT security issue see https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/disable_sql_server_access_from_xslt -->
<xslExtensions>
<extension type="Sitecore.Xml.Xsl.SqlHelper, Sitecore.Kernel">
<patch:delete/>
</extension>
</xslExtensions>
</sitecore>
</configuration>