英文:
Why should the error_log file be private
问题
为什么将error.log文件设置为公开是危险的,或者存在什么风险,我看到很多帖子都在解释如何将error.log文件设置为私有。
英文:
I have been seeing alot of posts explaining how to make the error.log file private . But can anyone tell me why is it dangerous to be public or what are the risks?
答案1
得分: 5
错误日志文件将暴露路径和软件版本。这将使得更容易知道要针对什么以及事物的位置在哪里。
您可能还会无意中记录敏感数据,您不希望它被访问到。
英文:
The error log file will expose paths and software versions. These will make it a lot easier to know what to target and where things are located.
You might also be inadvertently logging sensistive data which you don't want accessed.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论