Ensure Handler is not granted the write and the script/execute permissions

Handler mappings can be configured to give permissions to Read, Write, Script, or Execute based the use For example, reading static content, uploading files, executing scripts. It is recommended to grant a handler either the Execute/ Script or the Write permissions, but not both.

  1. Open Notepad as Administrator.
  2. Open the ApplicationHost.config file in %systemroot%\system32\inetsrv\config.
  3. Edit the <handlers> section accessPolicy attribute so that the write access is not present when the script or the execute are present.