Protect directories?

Is there a way to prevent people from seeing my site’s directory, while still allowing them to see the web pages? I dunno if it sounds stupid, but I dont want my files so readily available, and a couple of people know the host I have, so they could access my directory and see each file.