How do I remove the version in view source How do I remove the version in view source
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How do I remove the version in view source

Started by edhan, September 10, 2008, 11:48:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edhan

Hi

I am wondering how I can remove the version number when using view source for this software as it will be exposed to hacker when knowing the version you are using that has a possibility of hacking.

I can see this <!--Coppermine Photo Gallery 1.4.18 (stable)--> at the end of the page for the index before the </body></html>

I can't see to find where I can just remove the version 1.4.18 (stable).

Please advice.

Thanks!

Pascal YAP

First upgrade yours to 1.4.19 if you're scared about Hackers  ;D

edhan

Have upgraded just now. So, how do I remove the version numbers?

Joachim Müller

Edit include/functions.in.php, find$add_version_info = "<!--Coppermine Photo Gallery ".COPPERMINE_VERSION." (".COPPERMINE_VERSION_STATUS.")-->\n</body>";and comment that line out. This is a security-by-obscurity approach though that I really can't encourage. In fact I find it silly. Keep your gallery up-to-date instead of playing hide and seek.

edhan

I do agree to keep up to date but I do not receive notification for new updates. How do I activate or receive notification?

Thanks!

Nibbler

Subscribe to the announcements thread on this forum or to new download notifications at sourceforge.