How secure is storing DB variables with SetEnv or in php.ini?

前端 未结 3 981
北恋
北恋 2021-01-05 02:01

I don\'t like storing sitewide crypto keys and DB access information under document_root, so I was using Apache\'s SetEnv and php.ini files under conf.d to separate these fr

3条回答
  •  -上瘾入骨i
    2021-01-05 02:45

    I prefer storing them in either non-public folders, which can be accessed only by apache, or outside the document_root.

提交回复
热议问题