IP セキュリティの制限に問題がある。web.config ファイルを作成し、制限しようとしているフォルダーに配置しました。以下を参照してください。
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<ipSecurity allowUnlisted="false" enableProxyMode="true" denyAction="Forbidden">
<clear />
<add ipAddress="123.456.789" allowed="true" />
</ipSecurity>
</security>
</system.webServer>
</configuration>
また、applicationHost.config を次のように調整しました。
<section name="ipSecurity" overrideModeDefault="Allow" />
ただし、そのフォルダー内のファイルを参照すると、403 が表示されます。IIS を再起動しましたが、IP アドレスは正しいです。
私は何が欠けていますか?