Blog

Why web application architecture affects security

Layered geometric services showing web application architecture

Web application architecture describes the systems behind your website, how they connect and which responsibilities each one holds. A public page may depend on separate application servers, identity services, databases and suppliers. Security testing needs to understand those relationships. A weakness in one component can matter more when that component has unnecessary access to the rest of the business.

What is web application architecture?

Architecture is the arrangement of components and the routes through which they exchange information. Even a modest website may use separate services for sign-in, document storage, payments and background processing.

The useful map shows more than boxes and connection lines. It records what each service does, which data it handles and what access it needs. It should also identify application trust boundaries: the points where information crosses between systems with different levels of trust or control.

Discovery can reveal unknown web applications that belong on this map. Conversely, an architecture review can identify components that public browsing would never expose.

Some relationships can be inferred externally. Others require deployment records and discussion with the people who operate the service. A map should distinguish confirmed facts from assumptions.

Why it matters

Consider a customer website that sends uploaded documents to a background processing service. That service may need to read a limited storage area, but it should not automatically receive full access to the customer database.

If those permissions are broader than necessary, a weakness in document processing could affect information unrelated to the original task. The business impact comes from the combination of the vulnerable component and the access it holds.

Good network security configuration is part of the answer because it controls which systems can communicate. Application permissions and the credentials used between services also need attention.

Mapping these relationships helps the assessment focus on plausible business consequences. It supports decisions about where to restrict access, which systems need further checks and who owns remediation across supplier boundaries.

How penetration testers check for it

  • Review available diagrams and deployment records with the technical team, identifying public components, supporting services and significant data flows.
  • Compare documented arrangements with permitted external observations and approved internal evidence, recording where the actual deployment differs from the expected design.
  • Identify boundaries between services, the credentials they use and the permissions they need, prioritising relationships involving sensitive information or powerful functions.
  • Agree any additional assessment scope before testing connected systems, especially where separate suppliers or services control part of the architecture.

How to fix it

  • Maintain a current diagram with component owners, data flows and access requirements. Update it when services, suppliers or hosting arrangements change.
  • Restrict communication and service permissions to what each component needs. Separate public services from sensitive supporting systems where the design allows.
  • Give integrations distinct credentials with limited permissions. Record their owners, review access regularly and provide a practical way to revoke or replace them.
  • Verify important boundaries through configuration review and appropriate testing. Check that an alternative network route cannot bypass controls enforced at the public entrance.

Use the map when planning incidents and recovery as well as testing. Teams need to know which connected services might be affected and who can make changes when a component fails.

Read about our methodology or contact pentested.com to discuss testing for your website.

See your first test report this week.

Book a 30 minute demo. We will verify one of your targets with you and run a test against it, so you can judge the results on your own systems.

Book a demo