The Taliban had just three months ago allowed thousands of girls and women to sit university entrance exams in most provinces across the country.