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: Themes directory visible  (Read 3062 times)

0 Members and 2 Guests are viewing this topic.

Hooligan

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
Themes directory visible
« on: June 10, 2005, 05:55:01 pm »

Just wanted to say it might be a good idea to place an index.htm file in the Themes directory to prevent users from viewing/leeching. I use:

<script>history.go(-1);</script>
Logged
You know, Hobbes, some days even my lucky rocketship underpants don't help.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Themes directory visible
« Reply #1 on: June 13, 2005, 09:15:24 am »

more effective (as it doesn't need JavaScript to be turned on) is
Code: [Select]
<meta http-equiv="refresh" content="0; url=../index.php">in the <head> section of the page. Even better is a refresh using .htaccess means. However: if someone knows his way around in coppermine, he/she can always get template.html and style.css by entering the urls directly.

Everything you do won't keep others from stealing your theme though, only make it harder for complete newbies.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.