# Security Group > A virtual firewall that controls server traffic. Rules are added to the security group to define the allowed traffic and applied to servers to control traffic. ## SCP::SecurityGroup::SecurityGroup A Security Group that controls the inbound and outbound traffic of servers. Traffic is allowed or denied according to the rules defined in the Security Group Rule resource. - [SCP::SecurityGroup::SecurityGroup](https://docs.e.samsungsdscloud.com/en/templatereference/networking/security-group/scp_securitygroup_securitygroup/index.md): SCP::SecurityGroup::SecurityGroup Description A Security Group that controls the inbound and outbound traffic of servers. Traffic is allowed or denied … ## SCP::SecurityGroup::SecurityGroupRule A Security Group Rule that allows or denies traffic to and from a server. The rule applies to a direction, protocol, and port range, and can be applied to an IP range, a remote security group, or an address group. - [SCP::SecurityGroup::SecurityGroupRule](https://docs.e.samsungsdscloud.com/en/templatereference/networking/security-group/scp_securitygroup_securitygrouprule/index.md): SCP::SecurityGroup::SecurityGroupRule Description A Security Group Rule that allows or denies traffic to and from a server. The rule applies to a …