How can governments ensure NGOs aren’t diverting money towards terror?

//How can governments ensure NGOs aren’t diverting money towards terror?