← Learn library
AzureNetwork security

Network security groups

Understand how NSG rules filter supported traffic and how to validate the effective network path.

MeiAI guidance updated 2026-10-19. Microsoft service behaviour and licensing can change; use the official references below to confirm your tenant context.

Connected simulator items

Architecture components

vnetnsg

Assessment questions

Executive explanation

Network security groups contain ordered allow and deny rules for supported inbound and outbound traffic at subnets or network interfaces. They help constrain network paths; they do not provide application-layer authorization or prove that an application is secure.

Architecture and implementation

Create a flow inventory before writing rules. Prefer narrow source, destination, protocol, and port scopes. Review subnet and NIC associations, effective security rules, default rules, routing, and service-specific firewall controls together. Avoid broad management access from the internet.

Operations and trade-offs

Centralized rule management can improve consistency but can also create shared failure impact. Name rules clearly, record owners and purpose, remove stale rules through change control, and monitor network logs where enabled. NSGs do not inspect encrypted application content.

With and without effective controls

Well-scoped rules reduce reachable services and limit some lateral paths. Overly permissive rules or missing associations may leave exposure. Denying traffic can disrupt service, so stage changes and verify return paths and dependencies.

Assessment and evidence

Review NET-01 and NET-02. Record NSG association coverage, effective rules, allowed flows, representative denied-path tests, change owners, and relevant flow logs. A diagram line is a declared design relationship, not proof of connectivity.

Official references

External official sources are separate from MeiAI's explanatory content.

MeiAI provides an educational design reference, not tenant validation, legal advice, licensing confirmation, or a guarantee that a security outcome has been achieved.