# DCD How-Tos

You can configure Network Security Groups (NSGs) via the DCD and associate it with [<mark style="color:blue;">Network Interface Cards (NICs)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#network-interface-card-nic) or [<mark style="color:blue;">Virtual Machine (VM)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-machine-vm) resources.

{% hint style="info" %}
\*\*Prerequisites:\*\* Contract administrators and owners can create, access, manage, and use NSGs without additional permissions. For more information, see \[<mark style="color:blue;">Set User Privileges for Network Security Groups</mark>]\(set-user-privileges.md).
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Set User Privileges for Network Security Groups</strong></mark></td><td>Learn how to set User privileges for security groups.</td><td><a href="how-tos/set-user-privileges">set-user-privileges</a></td></tr><tr><td><mark style="color:blue;"><strong>Create Default or Custom Network Security Groups</strong></mark></td><td>Learn how to create a Default or Custom NSG.</td><td><a href="how-tos/create-nsg">create-nsg</a></td></tr><tr><td><mark style="color:blue;"><strong>Create Rules</strong></mark></td><td>Learn how to define rules.</td><td><a href="how-tos/create-rules">create-rules</a></td></tr><tr><td><mark style="color:blue;"><strong>View Rules</strong></mark></td><td>Learn how to view rules associated with an NSG.</td><td><a href="how-tos/view-rules">view-rules</a></td></tr><tr><td><mark style="color:blue;"><strong>Modify Rules</strong></mark></td><td>Learn how to modify associated rules.</td><td><a href="how-tos/modify-rules">modify-rules</a></td></tr><tr><td><mark style="color:blue;"><strong>Delete Rules</strong></mark></td><td>Learn how to delete associated rules.</td><td><a href="how-tos/delete-rules">delete-rules</a></td></tr><tr><td><mark style="color:blue;"><strong>Convert Custom Network Security Group to Default</strong></mark></td><td>Learn how to convert a Custom NSG to a Default NSG and vice versa.</td><td><a href="how-tos/convert-custom-nsg">convert-custom-nsg</a></td></tr><tr><td><mark style="color:blue;"><strong>Attach a Server or NIC to a Network Security Group</strong></mark></td><td>Learn how to attach an NSG to a server or an NIC.</td><td><a href="how-tos/attach-nsgs">attach-nsgs</a></td></tr><tr><td><mark style="color:blue;"><strong>Detach a Server or NIC from a Network Security Group</strong></mark></td><td>Learn how to detach an NSG from a server or NIC.</td><td><a href="how-tos/detach-nsgs">detach-nsgs</a></td></tr><tr><td><mark style="color:blue;"><strong>View Network Security Groups</strong></mark></td><td>Learn how to retrieve a list of all the NSGs that are associated with a data center.</td><td><a href="how-tos/view-nsgs">view-nsgs</a></td></tr><tr><td><mark style="color:blue;"><strong>Update Network Security Groups</strong></mark></td><td>Learn how to update an NSG.</td><td><a href="how-tos/update-nsg">update-nsg</a></td></tr><tr><td><mark style="color:blue;"><strong>Delete Network Security Groups</strong></mark></td><td>Learn how to delete your NSGs.</td><td><a href="how-tos/delete-nsgs">delete-nsgs</a></td></tr></tbody></table>
