Files with particular file types such as .config are unable to be downloaded by clients from their Package Server
Last Updated September 29, 2015
This issue occurs when the particular file is not able to be downloaded from a Package Server. Browsing the Package Download links works fine. However clicking on a the link to download the .config file from the Download link results in the error message below, regarding this directory does not allow programs to be executed.
Error Code is 403.1 - Forbidden - Execute Access is denied
This seemed to be more prone to having an issue in IIS 6 (Windows Server 2003). IIS 7 seemed to work just fine with the same package.
This error is displayed when trying to download the file through the IIS link:
By default .config file type is managed by the isapi.dll which must have code that says don’t allow the download unless you change the execution permissions to scripts only
Removed the .config application extension from the ‘w3svc/1/Root/Altiris/PS/Share’ level and left it alone at the higher levels.
So in effect any .config file under my packages share should be allowed to download without having to change the execute permissions to scripts and without changing the integrity of IIS security at the higher levels where .config would matter most.
The code to make the needed changes can be downloaded here: