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: integrate and secure Gallery in phpkit  (Read 6887 times)

0 Members and 1 Guest are viewing this topic.

idlop

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
integrate and secure Gallery in phpkit
« on: March 15, 2004, 10:26:56 am »

Hi all,

i ve discussed this on phpkit and they have no functionasl idea to secure the gallery and integrate ..that means :

I would like to denie the access to  index.php of cpg when people want to access from outside my page oder directly to the gallery ...ONly registered members of my homepage can access and see the pics in the gallery !!!

Please help !!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
integrate and secure Gallery in phpkit
« Reply #1 on: March 15, 2004, 10:51:46 am »

Although I have no idea what phpkit is, you could try with some advanced mod_rewrite stuff in a .htaccess file (provided you're on an apache webserver and you webhost wil let you do this) - in fact you're trying to deny hotlinking. There have been some postings on this - search the board.

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
integrate and secure Gallery in phpkit
« Reply #2 on: March 15, 2004, 11:54:10 am »

And to stop unregistered users browsing your pics, try this thread, http://forum.coppermine-gallery.net/index.php?topic=3503
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
integrate and secure Gallery in phpkit
« Reply #3 on: March 15, 2004, 12:50:59 pm »

http://phpkit.de - the website is mostly in German - so apart from the fact that it is a CMS of sorts I could not understand much
Logged
SANIsoft PHP applications for E Biz

idlop

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
integrate and secure Gallery in phpkit
« Reply #4 on: March 15, 2004, 03:16:05 pm »

Yes PHPKIT is a CMA like Postnuke or PHPnuke ..its simpler than these to install an to administrade ...

Let me explain my problem again ...

The CMS ist the main Programm on my site ..the gallery is added ...now people must be register to the CMS ....to see the pics ..but some people found out the direkt link to the gallery ..so that they not register to the CMS ...this is the fact i would like to change ....

Idea : change the index.php from cpg to gallery.php or something like that ....Now i must know which files i have to change too that all links works with the new name of the file !!! and ....

How can i stop that the complete link is shown in Browser !!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
integrate and secure Gallery in phpkit
« Reply #5 on: March 16, 2004, 07:30:11 am »

Quote from: "idlop"
Idea : change the index.php from cpg to gallery.php or something like that ....Now i must know which files i have to change too that all links works with the new name of the file !!! and ....
You would have to change an awfull lot of files - not recommended. Instead, create a bridge file for phpkit (the same way the brdige files for bbs's work). Once this is done and the coppermine "knows" if people or logged in to your portal site or not, deny them access without being logged on (see the thread casper refered to)

Quote from: "idlop"
How can i stop that the complete link is shown in Browser !!!
You can't. Although you could put coppermine into a frame or iframe that fills up the whole page, disguising the url in the browser's address bar is not a good idea, and you'll experience some serious disadvantages (like search engine "unfriendliness", missing bookmarks etc.).

Go for the bridge file, that's the best solution!

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 14 queries.