{"id":643,"date":"2010-05-19T14:35:00","date_gmt":"2010-05-19T14:35:00","guid":{"rendered":"https:\/\/brainlitter.itgroove.net\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/"},"modified":"2010-05-19T14:35:00","modified_gmt":"2010-05-19T14:35:00","slug":"sharepoint-2010-treats-pdf-and-other-file-types-as-insecure","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/","title":{"rendered":"SharePoint 2010 treats PDF (and other file types) as insecure"},"content":{"rendered":"<div class=\"ExternalClassB0C00FDD940F44F1BF3722802C4C8412\">\n<h2>The problem <\/h2>\n<p>In SharePoint 2010, SharePoint web applications (thus this is a per &#8216;url&#8217; setting, for content, My Sites, etc.) &#8216;browser file handling&#8217; is set to &#8216;strict&#8217; be default. <\/p>\n<p>\u00a0<\/p>\n<h2>The Result <\/h2>\n<p>When you try to open a PDF (or other file types), you will have the option to open to read\/edit but then be immediately prompted to save the file. <\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/051910_2135_SharePoint21.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 1 &#8211; Looking good and then&#8230; <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/051910_2135_SharePoint22.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 2 &#8211; Oh Crap <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<h2>The Fix <\/h2>\n<p>Should you want to turn off this behaviour (starting with strong security is good, but 1000 whining end users will likely overcome this setting), do the following: <\/p>\n<ul>\n<li>In Central Administration \/ Application Management \/ Manage Web Applications <\/li>\n<\/ul>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/051910_2135_SharePoint23.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 3 &#8211; Open Web Applications in Application Management <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/051910_2135_SharePoint24.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 4 &#8211; Select the Web Application and choose General Settings <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/051910_2135_SharePoint25.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 5 &#8211; set to Permissive and click Ok <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p>An IISRESET, etc. is not necessary. <\/p>\n<p>\u00a0<\/p>\n<h2>About Browser File Handling <\/h2>\n<p>Specifies whether additional security headers are added to documents served to web browsers. These headers specify that a browser should show a download prompt for certain types of files (for example, .html) and to use the server&#8217;s specified MIME type for other types of files. <\/p>\n<ul>\n<li><span style=\"color:#c0504d\"><strong>Permissive<\/strong> <\/span>Specifies no headers are added, which provides a more compatible user experience. <\/li>\n<li><span style=\"color:#c0504d\"><strong>Strict<\/strong> <\/span>Adds headers that force the browser to download certain types of files. The forced download improves security for the server by disallowing the automatic execution of Web content that contributors upload. <\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>Original Reference: <a href=\"http:\/\/blogs.us.sogeti.com\/mhacker\/2010\/05\/03\/unable-to-open-pdf-directly-from-sharepoint-2010\/\">http:\/\/blogs.us.sogeti.com\/mhacker\/2010\/05\/03\/unable-to-open-pdf-directly-from-sharepoint-2010\/<\/a> <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The problem In SharePoint 2010, SharePoint web applications (thus this is a per &#8216;url&#8217; setting, for content, My Sites, etc.) &#8216;browser file handling&#8217; is set to &#8216;strict&#8217; be default. \u00a0 The Result When you try to open a PDF (or other file types), you will have the option to open to read\/edit but then be &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[14,334,338],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"The problem In SharePoint 2010, SharePoint web applications (thus this is a per &#8216;url&#8217; setting, for content, My Sites, etc.) &#8216;browser file handling&#8217; is set to &#8216;strict&#8217; be default. \u00a0 The Result When you try to open a PDF (or other file types), you will have the option to open to read\/edit but then be &hellip;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2010-05-19T14:35:00+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\",\"name\":\"SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2010-05-19T14:35:00+00:00\",\"dateModified\":\"2010-05-19T14:35:00+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SharePoint 2010 treats PDF (and other file types) as insecure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"The problem In SharePoint 2010, SharePoint web applications (thus this is a per &#8216;url&#8217; setting, for content, My Sites, etc.) &#8216;browser file handling&#8217; is set to &#8216;strict&#8217; be default. \u00a0 The Result When you try to open a PDF (or other file types), you will have the option to open to read\/edit but then be &hellip;","og_url":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2010-05-19T14:35:00+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/","url":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/","name":"SharePoint 2010 treats PDF (and other file types) as insecure - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2010-05-19T14:35:00+00:00","dateModified":"2010-05-19T14:35:00+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/regroove.ca\/brainlitter\/2010\/05\/19\/sharepoint-2010-treats-pdf-and-other-file-types-as-insecure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"SharePoint 2010 treats PDF (and other file types) as insecure"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/643"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=643"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/643\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}