Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "-Indexes" option #4422

Merged
merged 1 commit into from
Sep 18, 2017
Merged

Conversation

andrey-helldar
Copy link

If you open the /css, /js, or any other folder on the default server, you can see the list of files in the directory.
The -Indexes option forbids viewing directory files via the web interface.

If you open the `/css`, `/js`, or any other folder on the default server, you can see the list of files in the directory.
The `-Indexes` option forbids viewing directory files via the web interface.
@m1guelpf
Copy link
Contributor

@taylorotwell I know you don't like to modify the .htaccess file, but I think this could be an useful change. Also, here is a more complete explanation of what does the -Indexes option do.

@taylorotwell taylorotwell merged commit 4bbd5f9 into laravel:master Sep 18, 2017
@carusogabriel
Copy link
Contributor

Ow, that's a serious security fix 👏

andrey-helldar pushed a commit to andrey-helldar/laravel that referenced this pull request Nov 21, 2017
If you open the /css, /js, or any other folder on the default server, you can see the list of files in the directory.
The -Indexes option forbids viewing directory files via the web interface.

(laravel#4422 for 5.5 branch)
andrey-helldar pushed a commit to andrey-helldar/docs that referenced this pull request Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants