View unanswered posts | View active topics It is currently Mon Jan 20, 2020 2:16 pm

Reply to topic  [ 11 posts ]  Go to page Previous  1, 2
 CSS3PIE + Sharepoint 2010 
Author Message

Joined: Thu Jul 05, 2012 4:15 pm
Posts: 2
Post Re: CSS3PIE + Sharepoint 2010
When working with .htc files and SharePoint 2010 (and any version of IE after IE7), you must either be in Permissive File mode or add the "text/x-component" MIME type to the "AllowedInlineDownloadedMimeTypes" list for each web application using PIE.

Permissive mode is the easiest to set on a web app but also opens you up to potential exploits if you allow users to upload content. (This is the same reason why PDFs do not open inside your browser by default in SharePoint 2010)

If this MIME type is not allowed, then IE will download the .htc but it will refuse to execute any behaviors contained in the file (the file is sent with the "X-Download-Options:noopen" header).

Adding the mime type to the webapp is relatively simple via PowerShell.
$webapp = Get-SPWebApplication <name or URL of web app>

This is a per-webapp setting, so you will need to make the change to each webapp that will use PIE.

Making this change will also let you store the inside a document library.


Thu Jul 05, 2012 4:17 pm
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.