Haaron Gonzalez – Blog in English Rotating Header Image


Prevent Document Download in SharePoint Online

Good day colleagues, wanted to share with you all how to configure a document library that doesn’t allow users to download his content. In our scenario here is to expose a document library to a group of people inside the company, but the requirement was that these people shouldn’t be able to download the content, this is just a document library for content consumption, no collaboration at all and of course read only for visitors.

It is simple to achieve the desired outcome because there is a permission already in the system that allows us exactly what we need, but it has some limitations that you should know first before you commit to deliver what business ask us to do.

As general understanding please read the following descriptions about the permissions already available in SharePoint, please read to the end because you will see what permissions makes sense for us to use.

  • Full Control – Has full control.
  • Design – Can view, add, update, delete, approve, and customize.
  • Edit – Can add, edit and delete lists; can view, add, update and delete list items and documents.
  • Contribute – Can view, add, update, and delete list items and documents.
  • Read – Can view pages and list items and download documents.
  • View Only – Can view pages, list items, and documents. Document types with server-side file handlers can be viewed in the browser but not downloaded.

Yes, the View Only permission gives us the required behavior. In other words, this permission allows us to visualize documents inside a browser (of course with the help of Office Web Apps or Office Online Server) and documents cannot be downloaded. The question here is: What are the documents we can visualize in the browser using Office Online Server? The answer is Only Office Documents and what Office Documents are we talking about? Word, PowerPoint, Excel.

This means that:

PDF or any other file type that is not an office document can be downloaded ☹

Let’s explore how to configure this:

  1. Create a security group that has the View Only permission
  2. Create and configure a document library
  3. Test with another user that the download is not possible

Let’s see it in action here in this video, since now, thanks for reading, thanks for watching, thanks for sharing.

How to install .NET Framework 2.0 in Windows 8.1

Yes, I have older versions of products and development tools that require .NET Framework 2.0 or 3.0 and when trying to run in my Windows 8.1 just doesn’t work. Windows 8.1 inform that you need to add the software required, so when I run the built in download or update wizard I just don’t install what I need. Nothing happen, nothing, nada!. Then, I go and download .NET Framework 3.5 redistribute package and run and again Windows 8.1 download or update windows doesn’t do nothing. Doing some research turns out that there is some Group Policy we need to change in order to make it work.

The following image shows the steps for updating a specific group policy with a setting that will describe the path of the binaries required to update Windows 8.1 software, that mean, that you need to mount your Windows 8.1 installer ISO or put your Windows 8.1 installer DVD.

Update Group Policy in Windows 8.1 for supporting Windows 8.1 system updates

Update Group Policy in Windows 8.1 for supporting Windows 8.1 system updates

Then you just add the feature .NET Framework 2.0 using the regular Programs section in control panel.

Add .NET Framework 2.0 and 2.5 to Windows 8.1

Add .NET Framework 2.0 and 3.0 to Windows 8.1



Because you never know where passion can take you

As a professional in information technology sector there are always opportunities to help companies innovate and enhance the way they work. This was my experience here in Sacramento, CA. The past six months I had the opportunity to work with a large Law Enforcement Agency helping them realize new ways to communicate and collaborate through all the state in an efficient and cost effective way. The people from Sacramento where very nice to me, I only have good memories and great awesome moments with American, Saudi, Indian and of course Hispanic people.

Capitol State Building

Capitol State Building

Welcome to Haaron Gonzalez english blog

Hi my name is Haaron Gonzalez. I prefer to think I am a normal guy that have passion for all I do. For other people, I am a technology consultant specializing in Microsoft SharePoint platform. I currently live in the state of Baja California in Mexico. I have 12 years of experience working as developer, trainer, consultant participating in bread range of projects of different sizes for government, manufacturing, agriculture, transport and retail sectors. Since 2004 I was recognized as a Microsoft Most Valuable Professional in ASP.NET technology and from 2007 until today recognized as a SharePoint Server MVP. During my career have the opportunity to present certification exams and also pass! I have MCP, MCAD, MCTS and MCT certifications.

I had the opportunity to work on several projects, one important I could mention is:

I play the acoustic guitar, love the beach and sunny sky.

I write Spanish blog since 2005 http://msmvps.com/blogs/haarongonzalez/ and also my youtube channel http://youtube.com/haarongo and today I decided to start writing in English so you can expect experiences on development, training and consulting topics.

So, welcome to my new blog!