Researchers of Karlsruhe Institute of Technology (KIT) and Universität Hannover developed novel membranes, whose selectivity can be switched dynamically with the help of light.