VOOZH about

URL: https://thenewstack.io/zero-trust-for-legacy-apps-load-balancer-layer-can-be-a-solution/

⇱ Zero Trust for Legacy Apps: Load Balancer Layer Can Be a Solution - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-04-10 07:22:31
Zero Trust for Legacy Apps: Load Balancer Layer Can Be a Solution
sponsor-nginx,sponsored-post-contributed,
Networking / Operations / Security

Zero Trust for Legacy Apps: Load Balancer Layer Can Be a Solution

A load balancer with inline SAML minimizes disruption, uses existing infrastructure and provides a solid foundation for enhancing organizational security posture.
Apr 10th, 2024 7:22am by Prabhat Dixit
👁 Featued image for: Zero Trust for Legacy Apps: Load Balancer Layer Can Be a Solution
Image from Heiko Kueverling on Shutterstock.
NGINX sponsored this post.

When most security and platform teams think about implementing zero trust, they tend to focus on the identity and access management layer and, in Kubernetes, on the service mesh. These are fine approaches, but they can cause challenges for constellations of legacy internal apps designed to run with zero exposure to outside connections. One solution to this problem is to leverage the load balancer as the primary implementation component for zero trust architectures covering legacy apps.

True Story: A Large Bank, Load Balancers and Legacy Code

This is a true story: A large bank has thousands of legacy web apps running on dedicated infrastructure. In the past, it could rely on a “hard perimeter defense” for protection with very brittle access control in front of the web app tier. That approach no longer works. Zero trust mandates that even internal applications maintain a stronger security posture. And for the legacy apps to remain useful, they must connect with newer apps and partner APIs. This means exposure to the public internet or broadly inside the data center via East-West traffic — something that these legacy apps were never designed for.

Still, facing government regulatory pressure to enhance security, the bank CIO decided to move all of its applications to zero trust, including the legacy apps. Unfortunately, implementing zero trust security models in environments laden with legacy applications and outdated infrastructure presents a multitude of challenges, including the lack of native support for modern authentication methods and protocols and difficulties in patching vulnerabilities and ensuring data encryption.

Additionally, the heterogeneous nature of such environments often leads to a fragmented security landscape, making it challenging to enforce uniform policies. Bringing in new pieces of infrastructure to apply zero trust would entail an extended period of configuration and tuning to get the system properly running on the myriad legacy applications. Updating all these apps to modern distributed security standards, some of which might be written in ancient languages like Cobol, would be extremely expensive and, in some cases, nearly impossible. The engineers who designed these apps may have left the company over a decade ago, if not longer.

Looking for a Common Zero Trust Layer

The bank’s security team looked for a common piece of existing infrastructure as the jumping-off point for zero trust, and they settled on the load balancer. This might seem counterintuitive because the load balancer is among the oldest infrastructure constructs in the stack. But load balancers are curiously well-positioned to be a Switzerland-like neutral mechanism for zero trust implementation on applications of any type, in any environment, located anywhere in the infrastructure.

Although it’s an older protocol based on XML, Security Assertion Markup Language (SAML) continues to be the most widely used open standard for exchanging authentication and authorization data between parties. More specifically, SAML is the critical link between identity providers that authenticate a user and service providers that rely on identity providers to provide useful information on user privilege and role.

Traditionally, SAML has been located in its own architectural component, separate from load balancing. At the same time, an entire industry has emerged around specialized zero trust implementation systems, both hardware and software, residing at different points in the infrastructure stack.

SAML was also compatible with legacy apps, most of which were constructed during the history of SAML and supported it. Because SAML is designed to work for older systems but has adapted well to newer systems and stood the test of time, it is a particularly strong choice as a linchpin for zero trust. To be effective, zero trust must be nearly system agnostic.

The potential benefits to such a setup are considerable. By moving SAML and the identity server into the load balancer, the bank was able to deploy zero trust in a way that is more scalable, more efficient and more agile than with most existing paradigms.

The Strengths of SAML at the Load Balancer Layer

There are a number of specific strengths inherent to deploying zero trust at the load balancer layer via SAML. Implementing zero trust at the load balancer layer allows organizations to enforce a unified access control mechanism for all applications. This ensures consistent security enforcement across diverse technological platforms, and extends to internal nodes policing East-West traffic or externally to cloud native service networking and partner APIs.

Certificate management and rotation is a considerable pain point for cloud native applications, let alone for hybrid constellations of applications that might range from a few months old to 30 years old. Load balancers natively manage TLS certificates, offering a centralized point for efficient certificate management that is relatively application agnostic. This centralization not only eases the administrative burden but also enhances security by ensuring timely certificate renewal and efficient handling of encryption/decryption processes.

By moving zero trust into an infrastructure point that is already integrated with all other parts of your infrastructure, this approach significantly reduces the complexity associated with modifying each application individually to align with zero trust principles. At high volumes, the encryption and other loads required for continuous authentication that is inherent to zero trust can cause serious latency.

Load balancers are designed to efficiently handle large volumes of traffic and can more easily be tuned to handle continuous authentication. In addition, using load balancers eliminates the need for additional and sometimes expensive security controls to enforce zero trust

Making Zero Trust Part of the Networking Stack

The journey toward a comprehensive zero trust architecture, especially for organizations with extensive legacy infrastructure, is not trivial. Because zero trust must be all things to all users and systems — ubiquitous, interoperable, reliable and fast — it makes sense to attach it to known parts of the infrastructure that already deal with these requirements.

A load balancer with inline SAML and certificate authority fits this bill. To boot, this approach minimizes disruption, leverages existing infrastructure and provides a solid foundation for enhancing organizational security posture. By focusing on this layer, organizations can ensure a strategic, efficient and effective transition to a zero trust model with minimal toil and maximum coverage using trusted components that teams have decades of experience operating.

The goal is to make zero trust fade into the background and just become part of the stack — and reduce the operational load for everyone while improving security even in the most diverse application environments. As a universally deployed piece of infrastructure familiar to both application developers and network and security operations teams, the load balancer can be used to fulfill these criteria with less disruption, toil and cost.

NGINX, now a part of F5, is the company behind the popular open source project, NGINX. NGINX offers a suite of technologies to develop and deliver modern applications including NGINX Plus for load balancing, App Protect for security, and NGINX Ingress Controller to get control of Kubernetes.
Learn More
The latest from NGINX
TRENDING STORIES
Prabhat Dixit is a principal product manager at F5. He works on a wide range of product areas including security and cryptography, application delivery and infrastructure, and open source.
Read more from Prabhat Dixit
NGINX sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.