Implement some read/write filtering