Legacy on-premises app access
Brands AI mentions
Also mentioned rarely: Cloudflare Access, Microsoft Entra Connect Sync, Google Workspace, Google Cloud, Cloud VPN, Google Cross-Cloud Network, Microsoft Entra private network connector, Google Cloud Identity Platform, Microsoft Azure, AWS, Cloudflare Tunnel, Microsoft 365, Microsoft Entra, Google Cloud IAM, AWS Application Load Balancer, Microsoft Entra Conditional Access, Microsoft Entra Private Access, Okta Access Gateway, Anthos Service Mesh, Microsoft 365 Apps, Google IAP On-Prem Connector, Microsoft Sentinel, Google Cloud Identity-Aware Proxy for on-premises apps, Microsoft Entra Connect, Microsoft Defender for Cloud Apps, AWS Direct Connect, Cloudflare Zero Trust, Google Cloud Directory Sync, Interconnects, Azure ExpressRoute, Microsoft Entra ID preauthentication, Zscaler Private Access, Cloudflare, Azure Key Vault, Google Search, Google Cloud Secret Manager, Cloud Deployment Manager
- Google Cloud Identity-Aware ProxyChatGPTChatGPT 90%Google AI ModeGoogle AI Mode 95%
- Microsoft Entra Application ProxyChatGPTChatGPT 95%Google AI ModeGoogle AI Mode 42%
- MicrosoftChatGPTChatGPT 55%Google AI ModeGoogle AI Mode 42%
- OktaChatGPTChatGPT 20%Google AI ModeGoogle AI Mode 47%
- Google Cloud PlatformChatGPTChatGPT 20%Google AI ModeGoogle AI Mode 42%
Questions and answers
ChatGPTNov 10, 2026
Using cloud identity proxies to secure legacy on-premises web applications
Cloud identity proxies let you modernize access to legacy web applications without necessarily rewriting the applications or migrating them to the cloud.
They act as a secure gateway between users and your on-premises applications, integrating cloud identity services, multifactor authentication (MFA), access policies, and single sign-on (SSO).
This is particularly useful for applications that:
- Use older authentication methods such as Windows Integrated Authentication, LDAP-backed authentication, or custom login forms.
- Cannot support modern protocols such as OAuth 2.0, OpenID Connect, or SAML.
- Need to be accessible to remote employees, contractors, or third parties.
- Must remain hosted in your corporate data center.
1. Understand the architecture
A typical cloud identity proxy architecture looks like this:
Remote users
Browser or managed device
HTTPS request
Cloud identity provider and access proxy
SSO · MFA · Conditional Access · Authorization
Authenticated and authorized traffic
Private connector / secure tunnel
Outbound encrypted connection from corporate network
Legacy on-premises web application
Internal application server and existing authentication infrastructure
The important principle is that users authenticate through the cloud identity provider before reaching the legacy application.
The application can remain private, while the proxy handles modern authentication and access enforcement.
For example, Microsoft Entra Application Proxy uses an on-premises connector that establishes outbound connections to its cloud service, avoiding the need to open inbound firewall connections.
2. Choose an appropriate cloud identity proxy
Several platforms support this architecture.
1. Microsoft Entra Application Proxy
(Good for Microsoft environments)
- Integrates with Microsoft Entra ID and Active Directory.
- Supports SSO, MFA, and Conditional Access.
- Supports legacy applications using Integrated Windows Authentication through Kerberos Constrained Delegation.
- Uses private network connectors for secure connectivity.
Documentation: Microsoft Application Proxy overview.
2. Cloudflare Access
(Good for flexible zero-trust access)
- Protects self-hosted web applications.
- Integrates with external identity providers.
- Uses Cloudflare Tunnel to connect private applications without exposing inbound ports.
- Supports identity-based policies and device posture checks.
Documentation: Cloudflare private web applications.
3. Google Cloud Identity-Aware Proxy
(Good for Google Cloud environments)
- Provides centralized identity-aware access control.
- Supports on-premises HTTP/HTTPS applications through an on-premises connector.
- Supports contextual authorization policies.
- Integrates with Google Cloud identity and access management.
Documentation: Enabling IAP for on-premises applications.
3. Implement the solution step by step
Here is a practical deployment approach.
Step 1: Inventory your legacy applications
Identify the applications that need secure remote access.
For each application, document:
Attribute Example Application Legacy HR portal Hosting On-premises Windows Server Authentication Windows Integrated Authentication Protocol HTTPS Users HR employees Sensitivity Confidential employee data Dependencies Active Directory, SQL Server Pay particular attention to authentication protocols and application dependencies.
Step 2: Integrate your identity provider
Connect your cloud identity platform to your existing identity infrastructure.
For example, with Microsoft Entra ID:
- Synchronize identities from on-premises Active Directory where appropriate.
- Configure enterprise application assignments.
- Define application-specific user and group permissions.
- Enable MFA.
- Configure Conditional Access policies.
This gives users a centralized authentication experience.
Step 3: Deploy the private connector
Install the proxy connector on a dedicated server inside your corporate network.
The connector should:
- Have network access to the legacy application.
- Establish outbound encrypted connections to the cloud proxy.
- Avoid accepting unnecessary inbound connections.
- Run with least-privilege permissions.
- Be monitored and maintained through regular updates.
For production, deploy redundant connectors where supported to avoid a single point of failure.
Step 4: Configure authentication translation
This is one of the most important steps.
Legacy applications frequently cannot directly consume modern cloud authentication tokens.
The proxy can bridge this gap.
Legacy authentication Possible integration Windows Integrated Authentication Kerberos Constrained Delegation Form-based authentication Supported form-based SSO integration Header-based authentication Trusted identity-header integration SAML-capable application Direct federation Application-specific authentication Proxy-supported authentication integration For example, Microsoft Entra Application Proxy supports Kerberos Constrained Delegation for applications using Integrated Windows Authentication.
Important: Authentication translation must be explicitly supported and securely configured. Do not assume that putting a reverse proxy in front of an application automatically converts its authentication mechanism.
Step 5: Apply zero-trust access policies
Establish policies that evaluate identity and context before granting access.
Recommended controls include:
- MFA for all remote users.
- Role-based access based on group membership.
- Managed-device requirements for sensitive applications.
- Restrictions for high-risk sign-ins.
- Session expiration and reauthentication.
- Separate policies for employees, administrators, and contractors.
For example:
User category Access policy HR employees MFA + managed device IT administrators Strong MFA + privileged account Contractors MFA + restricted application access Unassigned users Deny access Step 6: Test before production deployment
Test the complete authentication and authorization workflow.
Include:
- Successful authentication with MFA.
- Denial of access for unauthorized users.
- Access from unmanaged devices.
- Application functionality after proxy integration.
- Session expiration and revocation.
- Logging and auditing.
- Connector failover and recovery.
Pay particular attention to applications that rely on cookies, redirects, WebSockets, file uploads, or hardcoded internal URLs. These can behave differently behind a proxy.
4. Implement additional security protections
A cloud identity proxy is not a replacement for securing the application itself.
I recommend these additional protections:
Security control Why it matters End-to-end TLS Protects traffic between proxy, connector, and application Backend isolation Prevents direct internet access to legacy servers Least privilege Limits connector and application permissions Header validation Prevents users from spoofing trusted identity headers Session security Reduces risks from stolen or reused sessions Centralized logging Provides visibility into access and suspicious activity Vulnerability management Addresses vulnerabilities in outdated applications Network segmentation Limits lateral movement if an application is compromised One particularly important consideration: if the proxy injects identity headers, the backend must only trust headers received through the authenticated proxy path. Direct access to the application must be blocked, and externally supplied versions of trusted headers must not be accepted.
Microsoft also recommends preauthentication rather than passthrough authentication for stronger protection against anonymous access.
5. Recommended deployment architecture
For an organization already using Microsoft Active Directory, Microsoft Entra ID, and Windows-based legacy applications, I would start with this architecture:
Recommended components:
- Microsoft Entra ID for centralized identity management.
- Entra Application Proxy for secure external application publishing.
- Private network connectors deployed redundantly.
- Active Directory for existing application authentication.
- Kerberos Constrained Delegation where required.
- Conditional Access and MFA for identity protection.
- Microsoft Sentinel or another SIEM for centralized security monitoring.
This allows you to preserve existing applications while progressively modernizing authentication and access management.
6. Common implementation challenges
Challenge Suggested mitigation Legacy authentication incompatibility Select a supported authentication translation method Applications requiring internal URLs Configure URL translation and application-specific testing Authentication loops Review cookies, redirects, and SSO configuration Connector availability Deploy redundant connectors Excessive permissions Use application-specific access groups Legacy application vulnerabilities Patch, isolate, and monitor the backend Proxy bypass Restrict backend access to trusted connector paths 7. A practical implementation roadmap
I would implement the solution in four phases:
-
Phase 1 – Assessment
Inventory legacy applications, authentication methods, dependencies, and user groups.
-
Phase 2 – Pilot deployment
Select one low-risk application, deploy the cloud proxy, configure SSO and MFA, and validate access.
-
Phase 3 – Security hardening
Implement Conditional Access, device policies, connector redundancy, backend isolation, and centralized logging.
-
Phase 4 – Enterprise rollout
Migrate additional applications in stages, monitor authentication events, and gradually eliminate direct remote access.
8. Official technical resources
These are useful implementation references:
- Microsoft Entra Application Proxy documentation
- Microsoft Application Proxy security considerations
- Cloudflare Access private application deployment
- Google IAP for on-premises applications
My recommendation
The most important architectural decision is whether you want to modernize authentication without changing the legacy application, or whether you also want to modernize the application's authentication itself.
For an existing on-premises enterprise environment, I would generally start with a cloud identity proxy using preauthentication, MFA, application-specific authorization, and outbound-only private connectivity.
This provides a practical path toward Zero Trust without requiring an immediate application rewrite.
One question that would help me tailor the architecture: What environment are your legacy applications running in?
- Microsoft Active Directory / Windows Server
- Linux / Apache / Nginx
- Mixed Windows and Linux
- Multiple legacy platforms
I can then develop a more detailed reference architecture showing the identity provider, proxy components, authentication flows, firewall requirements, and security controls.
Pages cited in this answer 6
- learn.microsoft.comPublish on-premises apps with Microsoft Entra application proxy - Microsoft Entra ID | Microsoft Learn
- learn.microsoft.comSecurity considerations for Microsoft Entra application proxy - Microsoft Entra ID | Microsoft Learn
- developers.cloudflare.comPrivate web application · Cloudflare One docs
- docs.cloud.google.comEnabling IAP for on-premises apps | Identity-Aware Proxy | Google Cloud Documentation
- learn.microsoft.comApplication proxy documentation - Microsoft Entra ID | Microsoft Learn
- docs.cloud.google.comOverview of IAP for on-premises apps | Identity-Aware Proxy | Google Cloud Documentation
Google AI ModeNov 10, 2026
Using a Cloud Identity-Aware Proxy (IAP) —such as Google Cloud IAP, Cloudflare Access, or Microsoft Entra Private Access—allows you to replace vulnerable, legacy VPNs with a Zero Trust Network Access (ZTNA) model.
Instead of trusting anyone connected to the corporate network, an IAP intercepts every user request, verifies identity and device posture in the cloud, and only then forwards authorized traffic to your on-premises web app.
How the Architecture Works
- User Request: A remote user attempts to access your legacy web app (e.g.,
://company.com) from a browser. - Cloud Interception: The request hits the cloud identity provider / IAP endpoint first.
- Authentication & Policy Check:
- The user is prompted for Single Sign-On (SSO) and Multi-Factor Authentication (MFA).
- The proxy evaluates contextual policies (e.g., device health, geo-location, group membership).
- Secure Tunneling: If approved, the IAP routes the clean request back to your data center through an encrypted connector, tunnel, or load balancer (without exposing your app directly to the public internet).
- Header Injection: The proxy can optionally inject user identity headers (like
X-Goog-Authenticated-User-Email) so the legacy app knows who is logged in.
Step-by-Step Implementation Guide
1. Choose Your Cloud IAP Platform
- Google Cloud IAP: Great if you use Google Workspace/Cloud and want to protect on-prem apps via TCP/HTTP forwarding or a connector.
- Cloudflare Zero Trust (Cloudflare Access): Uses
cloudflareddaemon installed in your on-prem network to create an outbound-only connection to Cloudflare's edge. - Microsoft Entra Private Access / App Proxy: Ideal for hybrid-AD environments using Entra ID (formerly Azure AD) conditional access policies.
2. Establish Hybrid Connectivity
You need a secure bridge between the cloud proxy and your private corporate network/datacenter:
- Outbound Connector / Tunnel: Install a lightweight local connector (e.g., Cloudflare
cloudflared, Google Cloud's IAP TCP forwarding/VPN, or Microsoft Entra Private Network Connector) inside your on-prem network. - Crucial Rule: This connector only makes outbound calls to the cloud provider, meaning zero inbound firewall ports need to be opened on your corporate firewall.
3. Configure Identity and MFA
- Integrate your Identity Provider (IdP) such as Okta, Microsoft Entra ID, or Google Workspace.
- Enforce MFA , phishing-resistant hardware keys, or device compliance checks before access is granted.
4. Register the Legacy Application
- Point your public DNS entry (e.g.,
://yourdomain.com) to the cloud IAP/gateway. - Configure the proxy routing rules to point to your internal application IP or local load balancer (e.g.,
http://10.0.x.x:80). - Configure SSL/TLS termination at the cloud edge.
5. Set Granular Access Policies (RBAC)
- Map organizational groups or specific user emails to the application inside the cloud console.
- Test edge cases: ensure unauthenticated or non-compliant devices get blocked at the cloud login screen before ever touching your on-prem network stack.
Key Security Benefits for Legacy Apps
- No Public Exposure: Your legacy app no longer sits exposed behind open firewall ports or vulnerable port-forwarding rules.
- Eliminates the VPN: Users don’t need to VPN into the entire corporate network just to load a single internal web app.
- Built-in Logging & Auditing: Centralized logs show who accessed what legacy application and when.
To help tailor this setup, tell me:
- Which cloud provider or IdP (e.g., Google Cloud, Azure/Entra ID, Cloudflare, Okta) are you primarily using?
- Is the legacy app HTTP/HTTPS-based , or does it rely on raw TCP/UDP (like RDP or SSH)?
Pages cited in this answer 1
ChatGPTOct 23, 2026
Securing legacy on-premises web applications with cloud identity proxies
A cloud identity proxy lets you protect an existing on-premises web application by placing a cloud-managed authentication and access-control layer in front of it. Users authenticate through your identity provider, and the proxy enforces access policies before forwarding approved requests to your internal application.
The main advantage is that you can often add modern security controls without rewriting the legacy application or replacing its existing authentication code immediately.
1. Understand the target architecture
User or managed device
Browser or remote client
HTTPS request
Cloud identity-aware proxy
SSO · MFA · Conditional access · Session controls
Authorized request over a private, secured connection
On-premises application
Legacy web server and existing business logic
The application should not be directly reachable from the public internet. Depending on the product, an outbound connector or private network link connects the cloud service to the on-premises environment.
The proxy becomes the enforcement point for identity-based access. However, it does not automatically fix vulnerabilities in the application itself, and it must be configured so users cannot bypass it.
2. The implementation process
Step 1 — Inventory and classify applications
Document every legacy application, its hostname, backend servers, data sensitivity, user groups, authentication method, dependencies, and access requirements.
- Identify applications using legacy authentication, such as Integrated Windows Authentication, NTLM, Kerberos, or forms-based login.
- Determine whether users need browser-only access or whether the application depends on thick clients, WebSockets, APIs, or other protocols.
- Identify service accounts, scheduled jobs, integrations, and applications that cannot tolerate changes to their login flow.
Deliverable: an application inventory and a prioritized migration plan.
Step 2 — Choose the cloud identity proxy
Prefer the proxy that integrates with your existing identity platform and supports your applications' authentication requirements.
Microsoft Entra Application Proxy
A strong fit for organizations using Microsoft 365, Entra ID, and Active Directory. Supports preauthentication, Conditional Access, and private network connectors.
Google Cloud Identity-Aware Proxy
Supports HTTP(S) on-premises applications through a dedicated connector and Google Cloud load-balancing infrastructure, with identity-based IAM policies.
Cloudflare Access
Uses a secure tunnel from your network to Cloudflare and identity-aware policies to protect self-hosted web applications without opening inbound firewall ports.
Validate current licensing, supported authentication methods, connector requirements, and regional availability before choosing.
Step 3 — Establish secure connectivity
Deploy the required connector or private connectivity component on a hardened server that can reach the application.
- Prefer outbound-initiated connectivity when the product supports it.
- Use redundant connectors across separate hosts or failure domains for critical applications.
- Encrypt connections to the backend using TLS where supported, validate certificates, and restrict backend network access to approved proxy paths.
- Avoid exposing the original application endpoint directly to the internet.
For example, Microsoft Entra Application Proxy uses private network connectors, while Cloudflare Tunnel establishes outbound connections to its cloud service.
Step 4 — Configure identity, authentication, and access policies
Integrate the proxy with your identity provider, synchronize or provision user identities, and configure application-level access rules.
Recommended baseline:
- Require MFA, preferably phishing-resistant authentication for sensitive applications.
- Use group-based least-privilege access rather than broad employee-wide access.
- Apply device-compliance, sign-in risk, and location policies where appropriate.
- Define session duration, reauthentication, and emergency access procedures.
- Remove access automatically when users leave the organization or change roles.
Important: Configure preauthentication at the proxy whenever supported and appropriate. Avoid passthrough or application-only authentication if it leaves an unauthenticated path to the legacy service.
Step 5 — Integrate the legacy application's authentication
This is usually the most important compatibility decision.
- Preauthentication only: The proxy authenticates the user before allowing access. This works best when the application can safely trust the proxy-enforced boundary and does not need the user's identity propagated downstream.
- Single sign-on (SSO): Configure a supported method such as Kerberos constrained delegation, header-based identity, or another supported mechanism when the application needs to know the individual user.
- Existing login retained: If necessary, preserve the application's own login as a second authentication layer while you transition.
Do not assume that authenticating a user at the proxy automatically creates an authenticated session inside the application. If identity headers are used, prevent direct backend access and ensure the application accepts them only from a trusted proxy that strips client-supplied copies. Some applications will need code or configuration changes.
Step 6 — Pilot and validate security
Start with one low-risk application and a small group of users before moving critical systems.
Test:
- Authorized users can sign in and perform their normal tasks.
- Unauthorized users, unmanaged devices, and users without MFA are blocked as intended.
- Direct access to the backend is denied.
- Session expiration, logout, account disablement, and permission revocation behave correctly.
- File uploads, redirects, cookies, long-running sessions, APIs, and application-specific authentication continue to work.
- Connector failure, cloud-service outages, and recovery procedures are understood.
Review both proxy logs and application logs. Resolve compatibility issues before broad rollout.
Step 7 — Roll out, monitor, and maintain
Migrate applications in phases, update DNS and user bookmarks, document support procedures, and retire obsolete public access paths.
Monitor failed sign-ins, unusual access patterns, policy denials, connector health, latency, and application errors. Patch connectors, rotate secrets and certificates, review access groups periodically, and test disaster recovery.
Treat the proxy as one security layer—not a substitute for patching vulnerable applications, protecting the backend, or implementing application-level authorization.
3. Security controls to verify before go-live
Use this checklist for every application.
Go-live checklist
of complete
[Reset checklist] [Copy checklist]
4. Common pitfalls
Pitfall How to avoid it The proxy authenticates, but the app still rejects users Plan for downstream SSO or retain the existing login where required. Attackers can bypass the proxy Restrict network paths and verify the original hostname and backend are not publicly accessible. One connector becomes a single point of failure Deploy redundant connectors and test failover. Old protocols or embedded links break Test application-specific flows, redirects, cookies, and integrations in the pilot. Proxy access is mistaken for complete application security Continue patching the application and enforcing its own authorization controls. 5. What a practical rollout looks like
For a typical organization, a sensible sequence is:
- Pilot: Protect one internal web application and validate identity policies.
- Expand: Migrate similar low-risk applications and refine reusable policy templates.
- Protect critical systems: Introduce redundancy, monitoring, and tested recovery procedures.
- Modernize selectively: Replace legacy authentication with native SSO or modern protocols where the business case justifies it.
The key architectural decision is whether the proxy only needs to control who can reach the application, or whether it must also securely pass the user's identity into the application.
Let's tailor this to your environment
Which identity platform do you primarily use today?
Identity platform
Microsoft Entra ID / Microsoft 365
Google Cloud Identity
Okta
Other or hybrid identity provider
Who needs access?
Remote users only
Remote and internal users
Internal users only
Third-party contractors or partners
Legacy authentication method
Windows Integrated Authentication (Kerberos/NTLM)
Forms-based username and password
Basic authentication or custom authentication
Unknown or mixed
Number of applications
1–5
6–25
More than 25
[Build my deployment plan]
Pages cited in this answer 6
- learn.microsoft.comPublish on-premises apps with Microsoft Entra application proxy - Microsoft Entra ID | Microsoft Learn
- learn.microsoft.comPlan a Microsoft Entra application proxy deployment - Microsoft Entra ID | Microsoft Learn
- docs.cloud.google.comEnabling IAP for on-premises apps | Identity-Aware Proxy | Google Cloud Documentation
- docs.cloud.google.comOverview of IAP for on-premises apps | Identity-Aware Proxy | Google Cloud Documentation
- developers.cloudflare.comSecure private apps · Cloudflare One docs
- developers.cloudflare.comPrivate web application · Cloudflare One docs
Google AI ModeOct 23, 2026
Securing legacy on-premises web applications using a cloud identity proxy (such as Google Cloud Identity-Aware Proxy or Microsoft Entra Application Proxy ) allows you to
enforce modern Zero Trust security, multi-factor authentication (MFA), and contextual access policies without rewriting the underlying application.Here is the general, phased process to implement a cloud identity proxy for your on-premises apps:
1. Preparation and Identity Integration
- Centralize Identity: Ensure your on-premises users/identities are synchronized with your cloud Identity Provider (IdP) via tools like Microsoft Entra Connect or Google Cloud Directory Sync.
- Define Access Policies: Establish clear rules regarding who can access the application based on user identity, group membership, and device context (e.g., managed device, compliant OS, or corporate network location).
2. Install and Configure the Hybrid Connector
- Deploy a Connector/Agent: Install the vendor's lightweight connector component (e.g., IAP On-Prem Connector or Microsoft Entra Private Network Connector) inside your local data center or private network.
- Establish Outbound-Only Connectivity: Configure the local connector to initiate a secure, outbound-only connection (typically via HTTPS/TLS or outbound TCP tunnels) to the cloud control plane. This ensures you do not need to punch risky inbound firewall holes or expose your edge servers directly to the public internet.
3. Setup Cloud-Side Ingress and Routing
- Provision a Public Endpoint: Create an external application load balancer or a cloud-managed proxy endpoint in your cloud environment. Register a custom public-facing domain name (e.g., yourcompany.com) for the legacy app.
- Map Backend Services: Link the cloud ingress route to the local connector infrastructure, specifying internal routing rules so that authenticated traffic is safely forwarded to the on-premises web server.
4. Enable Authentication and Authorization Interception
- Enforce Single Sign-On (SSO): Turn on the cloud identity proxy layer for the specific backend route. When a user navigates to the app's public URL, the cloud IdP intercepts the request and forces an authentication challenge (MFA, SAML/OIDC sign-in).
- Evaluate Access Rules: Once the user successfully authenticates, the proxy evaluates the contextual access control lists (ACLs). If permitted, it injects identity headers (such as user email or security tokens) upstream if the legacy app is configured to read them, or simply proxies the authorized traffic through.
5. Cutover and Decommission VPN Dependencies
- Test and Validate: Run thorough testing for session handling, cookie timeouts, and internal static asset loading over the proxy tunnel.
- Retire Legacy Access Methods: Once stable, transition users away from requiring a broad corporate VPN to access this specific application, repeating the process for other legacy web properties.
If you'd like to dive deeper, let me know:
- Which cloud provider or ecosystem (e.g., Microsoft Azure/Entra ID or Google Cloud Platform) are you leaning toward?
- What authentication method does your legacy app currently use (e.g., anonymous, basic auth, integrated Windows authentication/Kerberos)?
Pages cited in this answer 4
- learn.microsoft.comMicrosoft Entra cloud-first identity guidance - Microsoft Entra ID | Microsoft Learn
- cloud.google.comBeyondCorp Zero Trust Enterprise Security | Google Cloud
- docs.cloud.google.comOverview of IAP for on-premises apps | Identity-Aware Proxy | Google Cloud Documentation
- medium.comMedium
ChatGPTNov 4, 2026
How cloud identity proxies secure older on-premises web applications
A cloud identity proxy acts as a secure intermediary between users and legacy, on-premises web applications. It allows organizations to apply modern identity and access security—such as Single Sign-On (SSO), Multi-Factor Authentication (MFA), and Conditional Access—without having to redesign or modify the older application itself.
This is particularly useful for applications that:
- Use outdated authentication methods, such as basic authentication or legacy form-based logins.
- Cannot integrate directly with modern identity providers such as Microsoft Entra ID or Okta.
- Were designed to operate only inside a corporate network.
- Lack modern security capabilities, such as MFA, device checks, or centralized access policies.
1. How the architecture works
The cloud identity proxy sits between the user and the legacy application.
1. User
Accesses the legacy application through a browser
HTTPS request
2. Cloud identity proxy
Intercepts requests and enforces access policies
(SSO) (MFA) (Device checks) (Access policies)
Authenticated and authorized connection
3. On-premises connector or gateway
Provides a secure path into the private network
4. Legacy web application
Receives the request in a format it already understands
The important concept is that the application does not necessarily need to understand modern authentication protocols. The proxy handles the modern identity process and bridges the authentication gap.
2. What happens during authentication?
The process generally follows six steps:
- User requests access: The employee visits a published application URL.
- Identity verification: The proxy redirects the user to a cloud identity provider, such as Microsoft Entra ID or Okta.
- Security checks: The identity provider verifies credentials and applies MFA, device compliance, location, group membership, and Conditional Access policies.
- Token issuance: After successful authentication, the identity provider issues a security token.
- Authentication translation: The proxy or its on-premises connector translates the authenticated identity into something the legacy application understands.
- Application access: The application receives the request, processes it, and returns the response through the proxy.
The user experiences modern authentication even though the underlying application may still use an older authentication protocol.
3. How does the proxy handle legacy authentication?
This is the most important technical aspect. Different legacy applications require different authentication bridges.
Legacy authentication How the proxy handles it Integrated Windows Authentication (IWA) Uses Kerberos Constrained Delegation (KCD) to authenticate the user to the application. Form-based authentication Can provide SSO by handling the application's login form and credentials. Header-based authentication Injects trusted identity information into HTTP headers expected by the application. Applications with no modern federation support Uses a reverse-proxy or gateway integration to authenticate users before forwarding requests. Example: Kerberos Constrained Delegation
Suppose an older HR application uses Windows Integrated Authentication.
- The employee authenticates through Microsoft Entra ID.
- Entra verifies the employee's identity and access permissions.
- The on-premises connector uses Kerberos Constrained Delegation.
- Active Directory provides a Kerberos service ticket for the HR application.
- The HR application accepts the Kerberos-authenticated request.
This enables modern cloud authentication without requiring the HR application to support OAuth or SAML natively.
4. Real-world examples of cloud identity proxies
Microsoft Entra Application Proxy
Publishes on-premises applications through a cloud service and an on-premises private network connector. Supports preauthentication, Conditional Access, MFA, and several legacy SSO methods.
Okta Access Gateway
Uses a reverse-proxy architecture to integrate older on-premises applications with Okta identity services, including applications that rely on HTTP headers.
Google Cloud Identity-Aware Proxy
Enforces identity-based access policies at the application level. Its supported architectures can also protect applications hosted outside Google Cloud.
5. Security benefits
Cloud identity proxies provide several important security improvements:
Security capability Benefit MFA Prevents access based solely on stolen passwords. Conditional Access Restricts access based on user, device, location, and risk. SSO Reduces the need for users to maintain separate application passwords. Centralized access control Administrators manage permissions in one identity platform. Reduced network exposure Avoids exposing legacy application servers directly to the internet. Access logging Provides centralized visibility into authentication and access activity. VPN alternatives Enables application-specific remote access without granting broad network access. One particularly useful feature of Microsoft Entra Application Proxy is that its on-premises connector establishes outbound connections to the cloud service. This means organizations don't need to open inbound firewall connections directly to the internal application.
6. Important limitations and security considerations
A cloud identity proxy is not a complete replacement for application security.
Organizations should consider:
- Application vulnerabilities: The proxy doesn't automatically fix SQL injection, outdated software, or insecure application code.
- Header trust: If using header-based authentication, the application must only trust identity headers inserted by the trusted proxy. Direct access must not allow users to spoof those headers.
- Session management: Legacy application sessions still need appropriate expiration, logout, and cookie protections.
- Connector security: On-premises connectors must be patched, monitored, and deployed with appropriate redundancy.
- Authorization: Successful authentication does not automatically mean the user should have access to every application feature.
- Compatibility: Some older applications have unusual authentication, URL rewriting, or session behaviors that require additional configuration.
learn.microsoft.comlearn.microsoft.comdocs.azure.cn
7. Putting it all together: Traditional access vs. cloud identity proxy
Traditional approach Cloud identity proxy approach VPN provides network access Proxy provides application-specific access Application manages authentication Cloud identity provider authenticates users Separate application credentials Centralized SSO MFA may not be supported MFA enforced before application access Network-based security perimeter Identity and context-based security Changes may require application modernization Many applications can remain unchanged 8. Practical example
Imagine an organization has an old financial management application running on a Windows server.
The application:
- Uses Windows authentication.
- Cannot support SAML or OAuth.
- Is accessible only from the internal corporate network.
- Needs to be accessed by remote employees.
The organization deploys Microsoft Entra Application Proxy.
The resulting arrangement looks like this:
- The employee visits the financial application's external URL.
- Microsoft Entra ID authenticates the employee and requires MFA.
- Conditional Access verifies that the employee meets the organization's access requirements.
- The Application Proxy service forwards the request through its private network connector.
- The connector uses Kerberos Constrained Delegation to authenticate the employee to the financial application.
- The financial application processes the request without needing to understand modern cloud authentication.
The organization has effectively modernized the application's access security without rewriting the application itself.
Key takeaway
A cloud identity proxy acts as an identity and security bridge between modern cloud authentication and older on-premises applications.
Its biggest advantage is that it allows organizations to adopt Zero Trust principles incrementally, without immediately replacing every legacy application.
It doesn't make the legacy application modern internally. Instead, it modernizes how users authenticate, how access is authorized, and how application traffic is securely delivered.
Further reading
These are particularly useful technical references:
- Microsoft: Secure hybrid access for legacy applications.
- Microsoft: Kerberos Constrained Delegation architecture.
- Microsoft: Header-based authentication.
- Okta: Integrating header-based applications.
A useful next step would be to compare cloud identity proxies, traditional reverse proxies, VPNs, and ZTNA solutions, since they solve related but different access-security problems.
Pages cited in this answer 10
- learn.microsoft.comPublish on-premises apps with Microsoft Entra application proxy - Microsoft Entra ID | Microsoft Learn
- learn.microsoft.comKerberos constrained delegation with Microsoft Entra ID - Microsoft Entra | Microsoft Learn
- learn.microsoft.comKerberos Constrained Delegation for single sign-on (SSO) to your apps with application proxy - Microsoft Entra ID | Microsoft Learn
- docs.azure.cnSecurity considerations for Microsoft Entra application proxy | Azure Docs
- learn.microsoft.comPlan a Microsoft Entra application proxy deployment - Microsoft Entra ID | Microsoft Learn
- learn.microsoft.comHeader-based authentication with Microsoft Entra ID - Microsoft Entra | Microsoft Learn
- docs.azure.cnBuild resilience in application access with Application Proxy | Azure Docs
- help.okta.comIntegrate header-based applications
- docs.cloud.google.comIdentity-Aware Proxy overview | Google Cloud Documentation
- learn.microsoft.comSecure hybrid access, protect legacy apps with Microsoft Entra ID - Microsoft Entra ID | Microsoft Learn
Google AI ModeNov 4, 2026
Cloud identity proxies (such as Microsoft Entra Application Proxy or Google Cloud Identity-Aware Proxy for on-premises apps)
act as a secure bridge between modern cloud-based identity providers and legacy, internal web applications. They allow organizations to enforce modern zero-trust security without rewriting or exposing old applications directly to the internet.Core Architecture and Components
- The Cloud Control Plane: Hosted in the cloud provider's infrastructure, handling user authentication, multi-factor authentication (MFA), and contextual access policies (such as device compliance or location checks).
- The On-Premises Connector/Agent: A lightweight outbound-only service installed inside the corporate private network or data center. It maintains an active, outbound outbound-initiated tunnel (like WebSocket or TCP connections) to the cloud service, bypassing the need for inbound firewall holes or traditional VPNs.
Step-by-Step Functionality Flow
- User Request Initiation: A remote user attempts to access an on-premises web application by navigating to a public URL assigned to the proxy.
- Cloud Interception and Authentication: Instead of hitting the local network, the request is intercepted by the cloud identity provider. If the user is not authenticated, they are prompted to sign in using modern methods (SSO, MFA, or passwordless).
- Policy Evaluation: The cloud evaluates granular conditional access policies (e.g., verifying if the user's device is managed or if the login attempt is from a trusted network).
- Secure Tunneling: Once authorization succeeds, the cloud service passes the validated request through the pre-established, outbound secure tunnel to the on-premises connector sitting inside the corporate network.
- Local Delivery: The on-premises connector receives the request and forwards it safely to the internal legacy web server as if the request originated locally.
- Response Routing: The legacy app responds to the local connector, which tunnels the response back through the cloud proxy to the user's browser.
Key Security and Operational Benefits
- No Inbound Firewall Rules: Because the local connector reaches out to the cloud to establish the connection, organizations do not need to open vulnerable inbound ports or DMZs on their edge firewalls.
- Elimination of VPN Dependencies: Users gain seamless remote access to specific applications without needing a full-tunnel or split-tunnel VPN, reducing the attack surface.
- Modern Retrofitting: Older apps that only understand basic or integrated Windows authentication (IWA) can sit safely behind a proxy that injects modern headers, tokens, or claims, enabling single sign-on (SSO) without modifying the legacy code.
If you'd like, let me know:
- Which cloud provider or identity system you are looking at (e.g., Microsoft Entra, Google Cloud IAP, Cloudflare Access)
- What type of authentication your legacy app currently uses
I can dive deeper into how headers or tokens are passed for that specific platform.
Top head-to-head comparisons
Since Sep 24Data through Nov 28, 2026Based on 39 AI answers
For agents: this page as Markdown, https://parse.gl/topics/legacy-on-premises-app-access.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
npx -y parse-gl check <domain>Copy the CLI commandAn agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt