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

Add .htaccess file and/or instructions on how to disable web access #15

Open
emrikol opened this issue Jun 26, 2017 · 1 comment
Open
Assignees
Milestone

Comments

@emrikol
Copy link
Owner

emrikol commented Jun 26, 2017

The cache files should not be accessible at all via the web server. Adding a generic .htaccess file and/or instructions (nginx perhaps) to the README file will help users secure the cache files.

(Props to WordPress.org user @bugnumber9)

@emrikol emrikol added this to the 1.1 milestone Jun 26, 2017
@emrikol emrikol self-assigned this Jun 26, 2017
@szepeviktor
Copy link
Contributor

szepeviktor commented Jul 7, 2017

# Apache < 2.3
<IfModule !mod_authz_core.c>
    Order Allow,Deny
    Deny from all
    Satisfy All
</IfModule>
# Apache ≥ 2.3
<IfModule mod_authz_core.c>
    Require all denied
</IfModule>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants