Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How to hide configuration files

first-time

Started by Diego Cabral 4 years ago · 0 replies · 471 views
4 years ago

Hello!

I have inherited a Grav project.
Many files under the /user/config folder (security.yaml, for example) and the /user/accounts.yaml folder are public. That is, any user that knows the right path can access these files on our production server.

Is this expected behaviour? Or did the previous admin make a mistake during configuration?
If this isn't expected, how can I make these pages "private"? I don't think they should be exposed publicly.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 172 1 week ago
Support · by nwhitfield, 1 week ago
2 150 1 week ago
Support · by stell, 3 weeks ago
5 381 2 weeks ago
Support · by gravinator, 1 month ago
5 573 2 weeks ago
Support · by Gravver, 3 weeks ago
6 360 3 weeks ago