Hide Files that are not accessible

Is it possible to hide files and folders that cant be accessed?