SharePoint: From "Why can't I open PDF file directly" to "script attack"?

Source: Internet
Author: User

Let's start with a simple question.

Two days ago online, a netizen asked me such a question: "Upload to a SharePoint 2010 document library in a PDF file, when directly click on this file link, why browser pop-up dialog box only save, but not open?" ”

As the screenshot above shows, in the Browser pop-up dialog box, you can only allow the user to save the option, without an open option. But it may be remembered that in the previous SharePoint 2007, this was not the case. When a user clicks on a PDF file that is stored in a SharePoint 2007 document library, the browser prompts the user to open it directly, and then the locally installed PDF reader opens the PDF file directly and starts reading.

First, the way to solve the problem. Open SharePoint 2010 Central Administration, Manage Web applications, select a Web application, click General Settings in the Ribbon area, and then, in the Settings dialog box that pops up, change the "browser file handler" setting from the default "strict" to "license".

Get! You will notice that after you modify this setting, the browser will display the "open" option so that the user can open the PDF file directly.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/web/sharepoint/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.