covered in quills I use for defense

Riddle
I'm covered in quills that I use for defense. If you threaten me, I'll put up my fence. What am I?

    Porcupine