I'm using Symfony 4, and I would like to know if is possible to avoid that Symfony Cache component cache my .env
files in prod
The main reason is that I'm trying to don't expose information saved there.
I'm thinking right now to prevent it by adding +rwx permission only to Apache's user and only +x for group and others users.
I'll appreciate any ideas. Thank you.