Saving photos outside public_html

Phoca Gallery - image gallery extension
Loekarin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Oct 2012, 15:45

Saving photos outside public_html

Post by Loekarin »

In the Phoca Download Component it is possible to save files outside the public-html folder to increase security. By doing this, it is not possible to create a direct link to the files. The manual of Phoca Download Component describes how to do this.

I have the same question, but now about the Phoca Gallery Component. I want the photos on my website only be seen by registered users.
Only registered users are allowed to download the photos.
I use Phoca Gallery to show the photos to the registered users, accesible after login.
But I noticed that normal installation of Phoca Gallery still makes this photo's accessible to non-registered users by direct link.

Which steps do I need to take to increase the security and to make the photos really only visible for registered users?

Karin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Saving photos outside public_html

Post by Jan »

Hi, see similar posts in the forum:

e.g. protect the folder by htaccess
e.g. add watermarks to the images
e.g. remove th original files from server and leave only thumbnails there

Changing folder needs to be customized :-(

Jan
If you find Phoca extensions useful, please support the project
Loekarin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Oct 2012, 15:45

Re: Saving photos outside public_html

Post by Loekarin »

Hi Jan,

I read your message, but saw that I can't reply on it. I just want to let you know that I have read it. I want to say more, but "private message" didn't work, so I leave it to this.
I didn't know you do so much work by yourself! Maybe other people don't know that either? Maybe you should tell them?
redrobin
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Jun 2011, 20:50

Re: Saving photos outside public_html

Post by redrobin »

Please excuse me if I am in the wrong area as I am new to this.

I have set up a series of galleries in two different areas

1 set are public

1 set are private with a login

The question

I would like to be able to allow down-loading of images only in the private gallery, at the moment when I go into options - display download icon, it works on all galleries and images.

I am on version 3.2.0

Is this possible?

Many Thanks for your time
miml1234
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 07 Dec 2012, 20:17

Re: Saving photos outside public_html

Post by miml1234 »

thank you so much
Post Reply