The CNS is protected by bone in the dorsal cavity : the brain in the cranial subcavity , and the spinal cord in the spinal cavity .
The CNS is contained within the dorsal cavity , with the brain in the cranial cavity and the spinal cord in the spinal cavity .