Jump to content

Disable viewing a folder


Recommended Posts



When someone add in the browser this:








And in some other folders also...


So i know that i can remove this folder but not the other folders so how can i protect them from such actions?


Thank you

Edited by ASTRAPI
Link to comment
Share on other sites

  • 2 weeks later...
  • Management

Create an .htaccess file in your root directory (normally public_html or htpdocs) and insert this code inside it:

Options All -Indexes


Or if you already have an htaccess file just add this code somewhere in it :thumbsup:

Board Rules - Available Products - Need a Custom Work?


< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.