SiO2@Au core-shell nanospheres self-assemble to form colloidal crystals that can be sintered and surface modified to produce pH-controlled membranes.