A nanofiltration process can curb the hazardous waste generated from aluminum production.