Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How do I remove the version in view source  (Read 2879 times)

0 Members and 1 Guest are viewing this topic.

edhan

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • Blessing of wealth and good fortune
How do I remove the version in view source
« on: September 10, 2008, 11:48:52 am »

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!
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: How do I remove the version in view source
« Reply #1 on: September 10, 2008, 12:00:54 pm »

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

edhan

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • Blessing of wealth and good fortune
Re: How do I remove the version in view source
« Reply #2 on: September 10, 2008, 12:20:50 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How do I remove the version in view source
« Reply #3 on: September 10, 2008, 12:58:55 pm »

Edit include/functions.in.php, find
Code: [Select]
$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.
Logged

edhan

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • Blessing of wealth and good fortune
Re: How do I remove the version in view source
« Reply #4 on: September 10, 2008, 01:27:29 pm »

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!
Logged

Nibbler

  • Guest
Re: How do I remove the version in view source
« Reply #5 on: September 10, 2008, 03:16:53 pm »

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

edhan

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • Blessing of wealth and good fortune
Re: How do I remove the version in view source
« Reply #6 on: September 10, 2008, 06:15:16 pm »

Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.