The middle layer of the three sacs that surround the brain and spinal cord.