0

Liferay 在/documents/用作 URI 时显示其类型和版本:

http://mydomainname.zzz/documents/

/documents/  
Name    Modified    Size    Description  
redele/     -   0  
Liferay Portal Community Edition / 6.0.6

如何向黑客隐藏该信息?

提前感谢

4

1 回答 1

1

我已经检查了 Liferay 6.1 (EE),没有提供此信息(因此您可能想要升级到最新版本 6.1(CE 或 EE)。

您还可以在 portal-ext.properties 中更改您可能想要更改的设置。这是默认设置:

#
# Set the level of verbosity to use in the server information line printed
# by the web server servlet. Valid values are "full", which gives all of the
# version information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.)
# or "partial", which gives only the name portion (e.g. Liferay Portal
# Community Edition).
#
web.server.servlet.version.verbosity=full

但是,安全性的主要建议是保持最新版本并始终对其进行修复。如果在下一个主要CE版本发布时不想升级:支持EE 5年(如果这个声明被认为是营销而不是ok,请随意删除它)

于 2013-07-23T09:44:47.447 回答