A web application is software delivered through a web browser over HTTP or HTTPS, rather than installed and run entirely on a user device. It usually has a server side, a client side, and session handling, and it may use cookies, APIs, authentication and access controls to manage user actions and data.
What a web application is in practice
A web application is more than a browser page with logic behind it. It is a distributed application model where the browser, server, network and session state all have to work together reliably. That matters because security controls, trust boundaries and failure modes are split across the client, the web tier, the application tier and any APIs the application depends on.
Because the browser is the delivery vehicle, a web application inherits the security properties of HTTP handling, cookie scope, session lifetime, cross-origin behaviour and server-side input handling. In practice, that means a flaw in one layer can expose data or actions in another layer, especially when the application also relies on APIs, identity assertions or privileged backend functions.
Common components and trust boundaries
Most web applications combine presentation logic in the browser with business logic on the server. They may also use APIs for mobile clients, third-party integrations or internal services. The important security question is not just what the application does, but where trust is granted, how state is carried, and which requests are allowed to change data or trigger actions.
Sessions are a central design feature. A web application often uses cookies, tokens or other session material to keep a user signed in and to tie later requests to earlier authentication. That is why session protection, request validation and correct origin handling are core application security concerns, not optional extras.
Modern web applications also depend heavily on browser-side code. That expands the attack surface to include injected script, unsafe DOM manipulation, cross-site request forgery, and trust placed in client-side checks that should really be enforced server-side. The same basic architecture also makes authenticated testing and business logic review important, as shown in NHIMG’s Web Application Security Testing Guide.
Why web applications are a frequent security target
Web applications are attractive to attackers because they are reachable, interactive and often deeply connected to sensitive data and business workflows. The combination of public exposure, complex input handling and high-value functionality creates many opportunities for injection, authentication abuse, access control bypass and logic manipulation.
Some of the most common risk patterns arise when the server trusts client-controlled data too much, or when an application exposes powerful functions through predictable URLs, forms or APIs. OWASP’s OWASP Top 10 remains the most widely used baseline reference for understanding these recurring application-layer risks.
Web applications also fail when defence is built around the wrong layer. A WAF can help reduce exposure and buy time, but it cannot replace secure coding, strong authorization checks or session protection. That is why edge controls and application controls need to be treated as complementary, not interchangeable.
How organisations assess and harden a web application
Exposure assessment starts with inventory: know which applications exist, which environments they run in, what data they process, and which authentication, session and API paths they expose. From there, teams usually combine code review, dynamic testing, configuration review and production monitoring to find weaknesses before attackers do.
Defenders should test both the obvious and the subtle paths. A mature review looks at authentication flows, session handling, access control, business logic, file upload handling, API behaviour and the interactions between browser code and server logic. The OWASP WSTG Guide is useful because it turns that broad testing surface into a structured methodology.
For operational protection, layered controls matter. A WAF can help with known exploit patterns and virtual patching, while device intelligence, bot detection and rate limiting can reduce abuse of login and transaction flows. NHIMG’s Web Application Firewall Guide and Device Intelligence and Fingerprinting Guide both fit that hardening layer.
From web app to API and platform risk
Many web applications now function as front ends for API ecosystems rather than as isolated sites. That means a weakness in the web app may become an API abuse problem, and a weakness in an API may become a web app compromise path. The boundary between browser UI and service logic is often where abuse of business flows, object access and function access shows up first.
This is why application security teams should evaluate the full transaction path, not just page rendering. If a feature exists to create orders, reset passwords, move funds or edit records, the security question is whether the application enforces the right actor, the right object and the right step order every time. NHIMG’s OWASP API Top 10 API6 Unrestricted Access to Sensitive Business Flows Guide is a good companion for that kind of review.
Where web applications depend on backend identity or privileged cloud roles, the application can also become a route into wider infrastructure. In those cases, a web app flaw is no longer just a frontend bug, it becomes a path into sessions, credentials, data stores or privileged service functions. That is why the application must be assessed as part of the whole trust chain, not in isolation.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP ASVS | V6 — Authentication | Web applications rely on authentication flows to establish user access and session trust. |
| V7 — Session Management | Sessions are central to browser-based application state and request authorization. | |
| V8 — Authorization | Web applications must enforce object and function access server-side on every request. | |
| Recommendation — Verify authentication strength, recovery and session binding in the web application. Validate cookie handling, session lifetime and session invalidation behaviour. Test every sensitive action for server-side authorization enforcement. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Web apps should limit what authenticated users and backend functions can do. |
| Recommendation — Restrict each application role and service function to the minimum required access. | ||
Related resources from NHI Mgmt Group
- How should security teams govern application proxy access for internal web apps?
- What breaks when customer identity data is exposed through a public web application?
- Why do access-control flaws keep showing up in web application testing?
- What breaks when web application pentesting still depends on repeated setup work?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org