Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Azure Security

You're reading from   Microsoft Azure Security Protect your solutions from malicious users using Microsoft Azure Services

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784399979
Length 152 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Working with a cache

The caching service has been growing faster than in the past due to the growing need for building large-scale web applications. In this section, we talk about the two in-memory caching options supported by Azure: the Azure Managed Cache and the Redis Cache.

Modern software architectures often rely on an in-memory caching system to save frequently accessed data that do not change too often. Some extreme scenarios require us to use the in-memory cache as the primary data store for sensitive data, pursuing design patterns oriented to eventual persistence and consistency.

It is evident that in both cases, the caching service must be protected properly to avoid data loss:

  • Cache as copy of frequently accessed data:
    • In case of a malicious deletion, at the first cache miss, the cache generator (the code or some batch procedures) needs to again fetch the current data from the data store, causing a performance delay
    • In case of a malicious modification, the code can behave in unexpected...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime