Newbie here...
I have certain files (pdfs mostly) that I only allow access to via login of webusers. But I just noticed that if any pdf is loaded from anywhere on my site, someone can easily get in to entire assets/files directory and see everything. Is there a way to disable this type of access?
-
MODX Staff
- 12,272 Posts
Do you mean it shows the directory index when you enter your example.com/assets/files/ into your browser address bar? If so turn off the directory index in Apache.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Could you walk me through this...again, Newbie. Thanks.