One primary school principal says children as young as eight were being exposed to extreme online content.