An ultra-thin polymer layer engineered with nanoscale pores that is applied to battery separators or electrodes to selectively screen molecules. In industrial cells, it acts as a molecular sieve that blocks degrading species like polysulfides while permitting the rapid transport of working ions.