is possible to use singup code only when someone want

Hi is possible to use singup code only when someone want to register new site. to allow regular user registration and to protect blog creatio, or you can recomand me some other plugin to do that?