Is it possible to prevent directory viewing?

I’ve created a project using the hello-webpage example, and I want to prevent people from viewing the folder/files in a directory when there isn’t and index.html. Is this possible? Thanks in advance!

Hey @Yhvr,

You can make your project private so that no one can view the code of your website, as there isn’t an option to hide the file directory from users.

2 Likes

Just make an empty index.html.

1 Like