Chapter 6. Working with Media

In this chapter, we will cover some interesting tasks related to Sitecore media items. You will learn the following recipes:

  • Restricting malicious files being uploaded to the media library
  • Downloading the media library folder
  • Protecting media files under a disclaimer
  • Achieving responsive images
  • Serving media files from CDN or external storage

Introduction

In this chapter, you will see different techniques that are required to make media management secure, such as restricting malicious file uploads, preventing denial-of-service (DoS) attacks while media downloads, and preventing direct access of media files from search engines or bots using disclaimers.

Responsive web design and CDN have become a necessity of major websites. ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.