integrate and secure Gallery in phpkit integrate and secure Gallery in phpkit
 

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

integrate and secure Gallery in phpkit

Started by idlop, March 15, 2004, 10:26:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

idlop

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

Joachim Müller

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

Casper

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

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
SANIsoft PHP applications for E Biz

idlop

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

Joachim Müller

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