Skip to content

Instantly share code, notes, and snippets.

@j26design
Created February 23, 2016 16:13
Show Gist options
  • Save j26design/a99840d7d7402ed81e53 to your computer and use it in GitHub Desktop.
Save j26design/a99840d7d7402ed81e53 to your computer and use it in GitHub Desktop.
Prevent users from accessing directories with .htaccess
# prevent directory browsing
Options All -Indexes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment