Subscribe to the Non-Human & AI Identity Journal

Public-facing application

A public-facing application is any internet-accessible service that can be reached directly by external users or attackers. These systems are attractive initial access targets because they are exposed by design, and flaws in them often create a direct path to code execution or data access.

Expanded Definition

A public-facing application is not just any website. In NHI security, the term usually covers internet-reachable services that accept traffic from untrusted networks and therefore sit at the edge of trust decisions. That includes web apps, APIs, partner portals, and mobile back ends when they are directly addressable from the internet. The security concern is not visibility alone, but the fact that these systems often expose authentication flows, session handling, secrets, and backend integrations that can be probed before any other control plane is reached.

Definitions vary across vendors when application firewalls, API gateways, and reverse proxies are involved, so practitioners should treat “public-facing” as an exposure and attack-path designation rather than a hosting label. NIST’s control language in NIST SP 800-53 Rev 5 Security and Privacy Controls is often the closest operational reference point for boundary protection and external system hardening. The most common misapplication is treating an internet-reachable admin or API endpoint as low risk because it is “just an app,” which occurs when exposure is measured by business function instead of attack surface.

Examples and Use Cases

Implementing protections for a public-facing application rigorously often introduces latency, friction, and deployment overhead, requiring organisations to weigh developer speed against the cost of stronger perimeter and identity controls.

  • A customer login portal exposed on the internet needs rate limiting, MFA, and careful session management because it is an entry point for credential stuffing and token theft.
  • A public API used by partners should be inventoried separately from internal services, because its authentication and authorization paths are reachable by external callers and often by automated abuse.
  • A marketing site with a hidden admin route still counts as public-facing if the route is reachable from the internet, even when only a narrow group should use it.
  • A cloud-hosted webhook receiver may be public-facing even if it never serves a browser, because it accepts inbound requests from outside the trust boundary.
  • NHI governance teams use the Ultimate Guide to NHIs to connect exposed applications to service-account, API key, and vault risk, then map those dependencies to NIST SP 800-53 Rev 5 Security and Privacy Controls.

In practice, teams also use exposure reviews to decide whether an endpoint belongs behind an authenticated gateway, a WAF, or a zero trust access layer, especially when third-party integrations are involved.

Why It Matters in NHI Security

Public-facing applications are where NHI exposure becomes tangible because they frequently mediate secrets, tokens, service accounts, and machine-to-machine trust. NHIMG reports that 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, and 79% have experienced secrets leaks, with 77% of those incidents causing tangible damage, according to the Ultimate Guide to NHIs. When a public-facing application is compromised, attackers rarely stop at the app itself. They pivot into backend systems, harvested credentials, and automation pipelines.

That is why boundary hardening, secret minimization, and dependency mapping matter as much as patching. The application may be the first visible asset, but the real loss often comes from the NHI trust it can reach. Zero trust guidance and control frameworks such as NIST SP 800-53 Rev 5 Security and Privacy Controls become especially relevant when public exposure and machine identity overlap. Organisations typically encounter the full significance of a public-facing application only after an internet-exposed compromise, at which point the downstream NHI pathways become operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-63, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 Public exposure expands attack surface and often reveals NHI trust paths.
NIST CSF 2.0 PR.AA-1 Public-facing apps need strong identity proofing and access control at the boundary.
NIST SP 800-63 AAL2 Customer and admin access flows on exposed apps often require higher assurance.
NIST Zero Trust (SP 800-207) AC-4 Zero trust treats public exposure as untrusted by default and verifies every request.
NIST AI RMF Public apps that host AI features add new attack paths and abuse conditions.

Assess exposed AI-enabled apps for misuse, prompt injection, and downstream identity risk.