Necessary to set ServerSignature and ServerTokens apache config options with Rails apps?

六月ゝ 毕业季﹏ 提交于 2019-12-05 13:25:56

It is not necessary, but it is recommended. By showing the server signature and the full server tokens you are giving potential hackers an easier way to identify how to hack your system. For example, with ServerSignature on and a full ServerToken, a hacker will know exactly what OS (including version) and server technology you are running.

Example. With ServerToken set to full you might get:

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5 with Suhosin-Patch Server

With it set to prod you will only get

Apache

This article on slicehost gives a good overview of how to approach serverSignature and serverTokens

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!