From: Lawrence A. <la...@us...> - 2002-09-02 18:34:57
|
On Monday, September 2, 2002, 9:11:37 AM, Reini Urban wrote: >> I am a little concerned about giving everyone the chance to find >> out my disk space size, and certain other things about my server. RU> diskspace is `du -s PHPWIKI_DIR`, so actually only the diskspace used RU> for phpwiki, which might be useful information for users who want to RU> install it. database size similar. RU> I wouldn't call that security sensible information. Fair enough :-). This won't work on windows servers though! >> Why, for example, should anyone need to know what version of php I am running? RU> This is returned by every apache header anyway. True. I'd forgotten that. >> There may be other security implications. >> >> However, I had been thinking of something similar. In particular, we >> could use something like this to replace Info and DebugInfo. We could >> have a plugin which displays info about a particular page, eg <?plugin >> pageinfo LastModified> or <?plugin pageinfo Markup>. >> >> It could be used, for example, do display a hit counter on any page. RU> <?plugin SystemInfo hitcounter ?> is a good idea. <?plugin SystemInfo hitstats ?>> displays full statistical information, but the raw number RU> alone would also be interesting. I had in mind replacing each item of information on the info page with a call to the SystemInfo plugin. That way, people could set up info pages they way they wanted. It seems a very "wiki way" of doing things Lawrence |