How to set 'app' as public only?

I want to create a space in which I create an app which can be usded by others but its files should be secret. Is it possible like this?