Protecting Netflix Viewing Privacy at Scale (2024)

On the Open Connect team at Netflix, we are always working to enhance the hardware and software in the purpose-built Open Connect Appliances (OCAs) that store and serve Netflix video content. As we mentioned in a recent company blog post, since the beginning of the Open Connect program we have significantly increased the efficiency of our OCAs — from delivering 8 Gbps of throughput from a single server in 2012 to over 90 Gbps from a single server in 2016. We contribute to this effort on the software side by optimizing every aspect of the software for our unique use case — in particular, focusing on the open source FreeBSD operating system and the NGINX web server that run on the OCAs.

Members of the team will be presenting a technical session on this topic at the Intel Developer Forum (IDF16) in San Francisco this month. This blog introduces some of the work we’ve done.

In the modern internet world, we have to focus not only on efficiency, but also security. There are many state-of-the-art security mechanisms in place at Netflix, including Transport Level Security (TLS) encryption of customer information, search queries, and other confidential data. We have always relied on pre-encoded Digital Rights Management (DRM) to secure our video streams. Over the past year, we’ve begun to use Secure HTTP (HTTP over TLS or HTTPS) to encrypt the transport of the video content as well. This helps protect member privacy, particularly when the network is insecure — ensuring that our members are safe from eavesdropping by anyone who might want to record their viewing habits.

Netflix Open Connect serves over 125 million hours of content per day, all around the world. Given our scale, adding the overhead of TLS encryption calculations to our video stream transport had the potential to greatly reduce the efficiency of our global infrastructure. We take this efficiency seriously, so we had to find creative ways to enhance the software on our OCAs to accomplish this objective.

We will describe our work in these three main areas:

  • Determining the ideal cipher for bulk encryption
  • Finding the best implementation of the chosen cipher
  • Exploring ways to improve the data path to and from the cipher implementation

We evaluated available and applicable ciphers and decided to primarily use the Advanced Encryption Standard (AES) cipher in Galois/Counter Mode (GCM), available starting in TLS 1.2. We chose AES-GCM over the Cipher Block Chaining (CBC) method, which comes at a higher computational cost. The AES-GCM cipher algorithm encrypts and authenticates the message simultaneously — as opposed to AES-CBC, which requires an additional pass over the data to generate keyed-hash message authentication code (HMAC). CBC can still be used as a fallback for clients that cannot support the preferred method.

All revisions of Open Connect Appliances also have Intel CPUs that support AES-NI, the extension to the x86 instruction set designed to improve encryption and decryption performance.

We needed to determine the best implementation of AES-GCM with the AES-NI instruction set, so we investigated alternatives to OpenSSL, including BoringSSL and the Intel Intelligent Storage Acceleration Library (ISA-L).

Netflix and NGINX had previously worked together to improve our HTTP client request and response time via the use of sendfile calls to perform a zero-copy data flow from storage (HDD or SSD) to network socket, keeping the data in the kernel memory address space and relieving some of the CPU burden. The Netflix team specifically added the ability to make the sendfile calls asynchronous — further reducing the data path and enabling more simultaneous connections.

Protecting Netflix Viewing Privacy at Scale (3)

However, TLS functionality, which requires the data to be passed to the application layer, was incompatible with the sendfile approach.

Protecting Netflix Viewing Privacy at Scale (4)

To retain the benefits of the sendfile model while adding TLS functionality, we designed a hybrid TLS scheme whereby session management stays in the application space, but the bulk encryption is inserted into the sendfile data pipeline in the kernel. This extends sendfile to support encrypting data for TLS/SSL connections.

Protecting Netflix Viewing Privacy at Scale (5)

We also made some important fixes to our earlier data path implementation, including eliminating the need to repeatedly traverse mbuf linked lists to gain addresses for encryption.

We tested the BoringSSL and ISA-L AES-GCM implementations with our sendfile improvements against a baseline of OpenSSL (with no sendfile changes), under typical Netflix traffic conditions on three different OCA hardware types. Our changes in both the BoringSSL and ISA-L test situations significantly increased both CPU utilization and bandwidth over baseline — increasing performance by up to 30%, depending on the OCA hardware version. We chose the ISA-L cipher implementation, which had slightly better results. With these improvements in place, we can continue the process of adding TLS to our video streams for clients that support it, without suffering prohibitive performance hits.

Read more details in this paper and the follow up paper. We continue to investigate new and novel approaches to making both security and performance a reality. If this kind of ground-breaking work is up your alley, check out our latest job openings!

— by Randall Stewart, Scott Long, Drew Gallatin, Alex Gutarin, and Ellen Livengood

As a seasoned expert in the field of content delivery networks (CDN) and streaming technologies, with a deep understanding of the intricacies involved in optimizing hardware and software for efficient and secure video content delivery, I can attest to the significance of the work carried out by the Netflix Open Connect team, as outlined in the article dated August 8, 2016. My extensive experience in this domain allows me to dissect and elucidate the key concepts embedded in the Netflix Technology Blog post.

First and foremost, the Open Connect team at Netflix focuses on continually enhancing the purpose-built Open Connect Appliances (OCAs) responsible for storing and serving Netflix video content. The team has demonstrated a remarkable improvement in efficiency, scaling from 8 Gbps to over 90 Gbps throughput from a single server between 2012 and 2016. This enhancement is achieved through a meticulous optimization of both hardware and software components.

The software optimization efforts center around the utilization of the open-source FreeBSD operating system and the NGINX web server, both of which run on the OCAs. Notably, the team contributes to the efficiency by presenting technical sessions at events like the Intel Developer Forum (IDF16), showcasing their expertise in the field.

In addressing the contemporary challenges of the internet landscape, the article emphasizes the critical importance of security alongside efficiency. Netflix employs state-of-the-art security mechanisms, including Transport Level Security (TLS) encryption, to safeguard customer information and maintain confidentiality. The adoption of Secure HTTP (HTTPS) further ensures the encryption of video content transport, enhancing member privacy, especially in insecure network environments.

A key aspect of the team's work is the incorporation of encryption, specifically TLS, into the video stream transport. This introduces challenges related to computational costs and potential efficiency reduction, given Netflix's massive scale of serving over 125 million hours of content globally each day.

The team addresses these challenges by delving into three main areas of work:

  1. Determining the ideal cipher for bulk encryption: The team opts for the Advanced Encryption Standard (AES) cipher in Galois/Counter Mode (GCM) over Cipher Block Chaining (CBC) due to its simultaneous encryption and authentication capabilities.
  2. Finding the best implementation of the chosen cipher: Evaluation of alternatives to OpenSSL, such as BoringSSL and Intel Intelligent Storage Acceleration Library (ISA-L), leads to the selection of ISA-L for its performance benefits.
  3. Improving the data path to and from the cipher implementation: The team introduces a hybrid TLS scheme, combining the benefits of the sendfile model with TLS functionality, resulting in a more efficient data pipeline.

Furthermore, the article discusses the team's rigorous testing of different implementations under typical Netflix traffic conditions, showcasing performance improvements of up to 30%, depending on the OCA hardware version. The chosen ISA-L cipher implementation proves to be more effective in this context.

In conclusion, the Netflix Open Connect team's work exemplifies a harmonious balance between security and performance, demonstrating their commitment to pushing the boundaries of innovation in the CDN and streaming technology space. This groundbreaking work serves as a testament to their expertise and dedication to delivering high-quality streaming experiences to Netflix users worldwide.

Protecting Netflix Viewing Privacy at Scale (2024)

FAQs

Protecting Netflix Viewing Privacy at Scale? ›

There are many state-of-the-art security mechanisms in place at Netflix, including Transport Level Security (TLS) encryption of customer information, search queries, and other confidential data. We have always relied on pre-encoded Digital Rights Management (DRM) to secure our video streams.

Can I make my Netflix viewing private? ›

Select Profiles, then choose a profile. Open Viewing activity for that profile. On the Watching page, click the hide icon next to the episode or title you want to hide. If you hide an episode, you'll see the option to hide the entire series.

How does Netflix protect privacy? ›

DRM encompasses a variety of technologies and protocols designed to protect digital content from piracy and ensure that only authorized users can access it. Netflix employs sophisticated DRM systems that encrypt content and enforce access controls to prevent unauthorized viewing or sharing.

Does Netflix keep track of what you watch? ›

You can see the TV shows and movies that have been watched on each profile on your account. From a web browser, go to your Account page. Select Profiles, then choose a profile. Open Viewing activity.

Can other people see what you watch on Netflix? ›

If you share a Netflix account with a partner, flatmate or family member, you will each be able to see what the other is watching. Sharing passwords also gives others access to all your account information.

How do I make my Netflix screen private? ›

Here's how to do it.
  1. Step 1: Log into Netflix from a web browser. Yes, you're going to need a desktop or laptop for this. ...
  2. Step 2: Go to account settings. From the main Netflix screen, click on your profile icon on the top right and choose 'Account' to go to account settings. ...
  3. Step 3: Set a Profile Lock on your profile.
Sep 3, 2022

How do I restrict Netflix viewing? ›

Block or unblock a TV show or movie
  1. Open the Netflix app.
  2. In the lower right, tap My Netflix .
  3. In the upper right, tap the Menu .
  4. Tap Manage Profiles .
  5. Choose the profile you want to edit.
  6. Tap Viewing Restrictions .
  7. Tap Block Titles .
  8. Type the name of the TV show or movie and then tap it to add to your blocked titles.

How do you put Netflix in private mode? ›

On Netflix on the web click your profile picture (top right), then Account. Choose your profile, open Profile & Parental Controls, and then Viewing Activity. Click the hide button (on the right) to remove something from your record—you can hide individual episodes or entire shows.

Is there a privacy setting on Netflix? ›

Privacy and Data Settings - your indicated preferences with respect to: Matched Identifier Communications - your indicated preferences with respect to Netflix marketing activities on third party services (available by profile under Privacy and data settings).

Can I stop someone watching my Netflix? ›

Choose Sign Out on any login you want to kick off, and Netflix will remove its access. Signing out of a session will stop that device from accessing your Netflix account. However, if the person using it knows your login information, they can sign right back in. In this case, you'll still need to change your password.

How does Netflix know if you're watching? ›

Netflix will have ways of knowing if you are still sharing your account with someone outside of your household. That's because the streaming service collects a lot of data about you, including what you watch, where you watch it, the location of your home, and device IDs.

How do I delete my Netflix viewing history? ›

To delete your Netflix history, take several simple steps:
  1. Enter your Netflix account.
  2. Click the profile icon > Account.
  3. Select your profile in the Profile & Parental Control section.
  4. Head to Viewing Activity.
  5. Select and remove particular titles from the list of your viewing history.
Jul 21, 2023

Can you tell where someone is watching your Netflix? ›

Access the Settings menu

There you will see a list of devices, locations, and IP addresses that have recently been used to access your account.

Can I use Netflix in two different houses? ›

A Netflix account is meant to be shared by people who live together in one household. People who are not in your household will need to sign up for their own account to watch Netflix. You can manage who uses your account by setting a Netflix Household.

How do I lock the viewing activity on Netflix? ›

To restrict access to a specific profile on your account, you can protect it with a Profile Lock PIN. Profiles protected with a PIN will appear with a lock icon on the profile selection page and require a 4-digit PIN. Learn more about parental controls on Netflix and how to add or remove a profile PIN.

How will Netflix know who is in your household? ›

Make sure to set or update your Netflix Household from a device that is connected to your preferred or most used internet connection. We use information such as IP addresses, device IDs, and account activity to determine whether a device signed into your account is part of your Netflix Household.

Can you go private mode on Netflix? ›

Unfortunately, no video streaming service offers an incognito mode, as profiles are only meant for individual use. However, you can edit your viewing history and remove items if necessary. On Netflix on the web click your profile picture (top right), then Account.

How can I stop other person viewing my Netflix profile? ›

Tap Create a Profile Lock and enter your Netflix account password to make changes. Enter 4 numbers to create your Profile Lock PIN. Unless you're using an unsupported device, you'll enter this PIN to open the profile or play titles downloaded from it. To remove the PIN requirement, tap Delete Profile Lock.

Can your parents see what you watch on Netflix? ›

Every Netflix account has a kids profile built-in, and parents can set these to specific age levels, or restrict specific titles using passwords or pin codes. Parents can also monitor viewing history to see what their kids have watched on their profiles.

Top Articles
5 Reasons to Ditch Mutual Funds and Buy ETFs Instead | The Motley Fool
Card Template Progressive Insurance Template Here’s What No One Tells You About Card Template Progressive Insurance Template
Craigslist Myrtle Beach Motorcycles For Sale By Owner
It’s Time to Answer Your Questions About Super Bowl LVII (Published 2023)
Tlc Africa Deaths 2021
Davita Internet
Napa Autocare Locator
Walgreens Alma School And Dynamite
Athletic Squad With Poles Crossword
Clafi Arab
Produzione mondiale di vino
Best Restaurants In Seaside Heights Nj
Day Octopus | Hawaii Marine Life
A.e.a.o.n.m.s
Vichatter Gifs
Lqse-2Hdc-D
Caliber Collision Burnsville
Beau John Maloney Houston Tx
Radio Aleluya Dialogo Pastoral
Vandymania Com Forums
Accident On 215
Somewhere In Queens Showtimes Near The Maple Theater
Jc Green Obits
A Cup of Cozy – Podcast
Delectable Birthday Dyes
Sorrento Gourmet Pizza Goshen Photos
Chelsea Hardie Leaked
Play It Again Sports Forsyth Photos
Florence Y'alls Standings
Pixel Combat Unblocked
Busted! 29 New Arrests in Portsmouth, Ohio – 03/27/22 Scioto County Mugshots
Renfield Showtimes Near Marquee Cinemas - Wakefield 12
Home Auctions - Real Estate Auctions
60 Second Burger Run Unblocked
Siskiyou Co Craigslist
Justin Mckenzie Phillip Bryant
Jr Miss Naturist Pageant
Roto-Rooter Plumbing and Drain Service hiring General Manager in Cincinnati Metropolitan Area | LinkedIn
Kvoa Tv Schedule
Western Gold Gateway
New York Rangers Hfboards
Afspraak inzien
Space Marine 2 Error Code 4: Connection Lost [Solved]
Ukg Dimensions Urmc
KM to M (Kilometer to Meter) Converter, 1 km is 1000 m
Academic important dates - University of Victoria
2700 Yen To Usd
Scarlet Maiden F95Zone
Unveiling Gali_gool Leaks: Discoveries And Insights
Advance Auto.parts Near Me
La Qua Brothers Funeral Home
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 6101

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.