The Taliban has banned women from most public sector jobs and limited girls to receiving an education only until the age of 12.