How to scope a web penetration test
Define assets, roles, assessment windows, and reporting requirements before a penetration test begins.
Start with the decisions the report will inform
A penetration test can help you decide whether a portal is ready for launch, what to fix before an integration, or what risks merit time in the next development cycle. Put that decision at the top of the scope so the assessment team can spend more time on the workflows that could change the answer.
In a supplier portal, for example, permissions on invoices may matter more than an informational public page. Identify the person who understands that business process and make them available for questions about expected behavior.
Name the assets and roles
List the authorized domains, applications, and APIs. Record the environment, owner, and any dependencies managed by a third party. If a service is shared, clarify which part your organization controls and who can authorize its assessment.
Prepare temporary accounts for relevant roles and representative test data that contains no sensitive information. Note the expected permissions for each account. The assessment team needs that baseline to distinguish an intentional product decision from an access control issue.
Agree on windows, exclusions, and notifications
Define when work can take place and which activities require notice or additional approval. Identify sensitive functions such as payments or customer notifications. Document who can request a pause and how the team will communicate an urgent issue.
Before starting, verify that each role can access the environment and that test data is ready. If the environment differs from production, record differences that could affect the conclusions.
Plan how you will use the results
Agreeing on the report format helps turn findings into concrete work. Ask for each finding to state the affected asset, impact, and remediation recommendation. Decide who will receive the executive summary and who needs access to technical evidence.
If your team needs a follow-up assessment, agree up front on what to review, in which environment, and when. Set aside time to assign owners and dates to fixes after the report arrives.