How to set and remove write protection from a storage media (SD card, Hard disk, Flash drive etc)