Secure defaults and service exposure
Start with safe settings
Secure defaults are initial settings that minimize avoidable risk without requiring users to discover every security option. A bookstore needs customers to view its catalog, but only authorized staff should reach the administration interface. Design these two access paths separately.
Reduce unnecessary exposure
Exposure describes who or what can reach a service or data. A listening service is not necessarily reachable from every network: routing and firewall policy also matter. Keep only necessary services enabled, allow only required paths, and require appropriate identity and permissions. Network restrictions supplement, not replace, application authorization.
Review a fictional configuration
Before: catalog public, administration public, diagnostic mode enabled, order database accessible to all staff. Proposed: catalog public, administration restricted to the approved management network with staff authorization and MFA, diagnostic mode disabled, database accessible only to the order application and approved maintainers. These are policy descriptions, not executable settings.
Avoid shortcuts and preserve function
Do not use shared factory passwords or grant administrator permissions just to resolve an access problem. Use individual authorized accounts, change control and necessary privileges. A secure baseline is an agreed starting configuration; it may differ by system role. Check that normal work still succeeds after reducing exposure. A private network alone does not establish trust.
Practice: compare allowed and denied paths
A library publishes its catalog and provides a separate staff editing tool. Describe one legitimate public action, one legitimate staff action and one action that should be denied. Identify which controls apply to each. Next, combine independent controls.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Secure defaults and service exposure — knowledge check
Apply secure configuration concepts to fictional scenarios.
Which is a secure default for a staff-only administration tool?
What does an internal-only network imply?
A diagnostic service is not needed in production. What should the owner consider?
Why should baseline settings differ between a database and public catalog?
After restricting administration, which check matters?