2013-07-23 27 views
0

Liferay的顯示它的類型和版本時/documents/用作URI:如何隱藏Liferay的版本和類型,以防止黑客

http://mydomainname.zzz/documents/ 

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

如何隱藏這些信息對黑客?

Thanx提前

+0

不確定是否[添加友好URL映射](http://www.liferay .com/documentation/liferay-portal/6.1/development/-/ai/adding-friendly-url-mapping-to-the-portlet)help .. –

回答

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 

然而,出於安全的主要建議是留在最新版本,並始終修復它。如果你不想在下一個majo時升級r CE版本發佈:EE支持5年(​​如果此聲明被認爲是市場營銷並且不在此處,請隨時刪除它)