Selectively permeable membrane