selectively permeable

A membrane that allows some substances to pass while blocking others.