|
Home > Archive > IIS Server Security > February 2007 > IIS6 disallows access to .PCF files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
IIS6 disallows access to .PCF files
|
|
| Brad Baker 2007-02-02, 7:19 pm |
| We have some ".pcf" files we would like to store on our IIS6 server. However
when we go to access those files IIS generates a 404 error.
Upon investigating it seems like .PCF is some sort of Microsoft Commerce
Server configuration file. Unfortunately this same extension is used by
non-microsoft products as well. ;)
Since we aren't using our IIS6 server for Commerce Server but we do need to
store other files with the PCF extension on our webserver - how can we
unblock PCF files?
Thanks,
Brad
| |
| David Wang 2007-02-02, 7:19 pm |
| By default, IIS6 does not allow resources with unknown MIME-Type
mapping to be served as a static file download. This is for security
reasons. This same logic protects script files, like .asp and .aspx,
from being accidentally downloaded as source code if you turn off
Execute Permissions.
You will need to add the correct MIME-Type mapping for .pcf to allow
it to be download.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Feb 2, 11:11 am, "Brad Baker" <b...@nospam.nospam> wrote:
> We have some ".pcf" files we would like to store on our IIS6 server. However
> when we go to access those files IIS generates a 404 error.
>
> Upon investigating it seems like .PCF is some sort of Microsoft Commerce
> Server configuration file. Unfortunately this same extension is used by
> non-microsoft products as well. ;)
>
> Since we aren't using our IIS6 server for Commerce Server but we do need to
> store other files with the PCF extension on our webserver - how can we
> unblock PCF files?
>
> Thanks,
> Brad
| |
| Brad Baker 2007-02-02, 7:19 pm |
| Beautiful - that's what I needed to know. Thanks so much for clueing me in

Brad
"David Wang" <w3.4you@gmail.com> wrote in message
news:1170453585.914355.178310@h3g2000cwc.googlegroups.com...
> By default, IIS6 does not allow resources with unknown MIME-Type
> mapping to be served as a static file download. This is for security
> reasons. This same logic protects script files, like .asp and .aspx,
> from being accidentally downloaded as source code if you turn off
> Execute Permissions.
>
> You will need to add the correct MIME-Type mapping for .pcf to allow
> it to be download.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> On Feb 2, 11:11 am, "Brad Baker" <b...@nospam.nospam> wrote:
>
>
| |
| WenJun Zhang[msft] 2007-02-05, 1:30 am |
| Hi Brad,
To manually add this MIME type:
In IIS mmc, right-click the server(computer icon) to open its properties.
Click the MIME type button, add the .pac and its MIME string as below:
Associated Extension: .pac
Content Type(MIME): application/x-ns-proxy-autoconfig
After this, please restart IIS service by running iisreset command and then
please test browsing to the pac in IE again.
If issue persists, please update here to let us know. Thanks.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
========================================
==========
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscript...t/default.aspx.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
|