Published: 10/06/2021

Content Delivery Network (CDN)

A Content Delivery Network (CDN) is a large distributed system of servers that deliver web pages, images and other online content to a user based on their geographical location in a secure way.

Frequently asked questions about CDN security issues

What is an example of CDN?

A CDN example is Cloudflare. Cloudflare is similar to a super-fast delivery service for websites. This enables them to load quickly by storing copies of website content on servers worldwide. By doing this you are visiting a site from a nearby server.

Why is a CDN needed?

Web applications need CDNs because they offer important benefits such as better performance, increased reliability, resilience against cyber attacks and cost savings.

How does a CDN work?

A CDN works by distributing content to multiple servers worldwide. This means that data doesn’t have to travel far and enables websites to load faster and perform better. Additionally, CDNs cache content like images and videos, further improving load times.

What is the difference between CDN and hosting?

A CDN caches your website’s static content in data centres around the world rather than serving it from one far-away source. This results in your content being served from a data center that is much closer to the user’s location, resulting in faster download times.

What are the benefits of using a Content Delivery Network?

CDNs allow content, like images or videos, to load faster across your network. The cache they maintain on servers around the world means that, for example, when someone in Germany clicks on an embedded image file from one of your web pages, it can be served quickly because the physical distance would be shorter than loading it straight out of a California-based server.

CDNs also make your website more secure. They typically come with a firewall which protects the data inside from outside threats, such as viruses or malwareattacks.

What are the common security concerns about using CDNs?

Many people point out security as one concern with using a CDN because it means your files will be stored on another person’s server.

However, there are separate layers of protection for this process:

  • Encryption protocols keep information private while being transferred between computers
  • Password restrictions ensure that only authorized users can access your account or folders
  • If someone does get into an unauthorized area, they would need to know additional passwords before accessing sensitive data like credit card numbers or Social Security numbers.

Is a CDN reliable?

A Content Delivery Network is more reliable than an average company’s servers. Not only are there multiple copies of the information, but a CDN also has redundancies so everything stays up and running no matter what happens to one part of it.

How can I make sure that my Content Delivery Network is secure?

It’s important to make sure your CDN has the latest security updates, and that you’re using a secure password (that is different from any other account) for every user on it. This will help you avoid being hacked, and keep your visitors safe.

If a CDN is not secure, what could happen to my website?

If your CDN is not secure, it’s possible that hackers could get in and find the information they need to access private accounts. They might be able to change or delete some of the files on your website, and this could mean trouble accessing certain or all features while you rebuild things from scratch.

What can I do if my CDN gets hacked?

There are measures in place to monitor data flow through servers, so if your site ever becomes compromised by malware or hackers, you’ll be notified immediately. In most cases, an organization will have enough bandwidth available with its ISP service provider to handle temporary outages without major disruptions. However, it’s always wise to back up all of the content stored at this location as well as onsite in case something goes wrong.

Can a Content Delivery Network prevent DDoS and other cyber attacks?

CDN is not a protection against DDoS attacks. A CDN only provides the means to deliver content faster and more efficiently but does not protect your site from malicious traffic or other threats that may be generated by an attacker.

How does a CDN work with SSL?

The CDN takes care of all the SSL-related encryption and decryption steps for you – so it’s best to point your domain at a CDN server that handles non-SSL traffic as well to keep things centralized. In both cases, you’ll want an intermediate certificate bundle available containing any necessary certificates issued when obtaining the final website’s generated certificate; while some people host their own “origin” or secure sites strictly on servers designated for encrypted channels such as SSH tunneling, these can also be pointed towards the same origin server handling non-encrypted requests if desired.

CDNs handle all of your non-SSL (HTTPS) traffic but they do not provide URL rewrites for old URLs which still use the old protocol.

If your CDN provider does not provide URL rewrites, you’ll need to configure a separate web server for handling those requests. A reverse proxy is usually set up as an intermediary between the CDN and legacy URLs so that when someone clicks on a link with the older protocol, they’re redirected to the new site located at their final destination. The downside of this approach is that two servers are doing essentially identical work; if a user has both types of browsers open simultaneously it can get confusing whether or not they should be using SSL in one browser versus non-SSL in another. For these scenarios, it is recommended to host legacy pages strictly within an SSH tunnel as a means of reducing operational overhead.

A different approach is to set up a CDN with URL rewrites but without legacy URLs in the configuration. This will cause all traffic from browsers that don’t know how to handle the protocol change (and also any crawlers) to be routed through an intermediary server which then redirects them on request for your legacy site’s content. You’ll need two sets of DNS entries: one pointing at the new domain and another at the old domain where legacy pages are hosted through SSH tunneling. If you’re comfortable managing more than one web server this can provide a simpler setup overall as it avoids having redundant systems running simultaneously.

How does a CDN make information more secure over the Internet?

While CDNs can make information more secure in a variety of ways, the most common is through filtering or blocking access to malicious content.

CDN service providers often offer website security services such as malware scanning and URL filtering (blacklisting) which will help stop potential data leaks before they happen. When you have a CDN provider that offers these types of services it’s important to know what kind of protection your company needs for its business-critical content so you can find an appropriate partner with the corresponding level of protection.

How is a Content Delivery Network better for my website?

A CDN provides all of these benefits:

  • Improved availability and performance
  • Serving static files from the cache rather than over the network (thus reducing latency)
  • Streaming media from nearby servers to reduce delays for video playback and lower bandwidth usage on both ends of an Internet connection
  • Fewer request errors due to having multiple paths between two points. This doesn’t mean that there are no requests but it does increase reliability by offering more pathways if one goes down or becomes congested with traffic.

Why is CDN security important?

If you don’t ensure your CDN security, it could lead to a security breach.

CDN providers and security professionals need to keep pace with the latest patches and updates so they are not vulnerable at any point in time.

Users of these services should also take steps by using your standard password policies, considering multifactor authentication options, and ensuring that you have good cyber hygiene practices such as limiting access from unknown or untrusted networks.

Who uses CDNs?

CDNs are used by anyone who needs to distribute information around the world. This includes Internet service providers, website operators, mobile app developers and platform vendors as well as large content providers such as video hosting companies and major news organizations.

Schedule Your Demo

Tired of your website being exploited by malicious malware and bots?

We can help

Subscribe and stay updated

Insightful articles, data-driven research, and more cyber security focussed content to your inbox every week.

Required
Required

By registering, you confirm that you agree to Netacea's privacy policy.