SD cards have a switch on the left side (with electrical contacts side down) that controls write protection. When the switch is moved in the direction of the contacts on the underside of the card...
There is a hardware protection on the card itself. It's a little slider on the side. One way is protected, the other is not. Typically, having the slider up, towards the contact side of the card, is...