all private gallery

agroszer

Joined: 2014-03-25
Posts: 2
Posted: Tue, 2014-03-25 18:52

Hi,

I want to have an all private gallery, publicly hosted on the internet, but only visible to user (family) members.
Nothing should be accessible without a login.

How to configure Gallery3?

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2014-03-25 19:26

htaccess?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-03-25 20:10

By "nothing" do you mean no link to login? Blank page? Not even a form?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Tue, 2014-03-25 20:55

No I think the OP only wants to assign logins to family. I have a similar setup, however I'd just like to make a suggestion that you should cater for the ability to allow anonymous access - you might change your mind one day and find yourself struggling to deal with the situation.

In my gallery at the root album, I have created a Public and a Private album. The Root album has permissions so that anybody can see anything (which flow down onto the Public album). However at the Private album, the permissions are restricted to Registered Users. Therefore any sub-albums in the Private album have those same restrictions.

If an anonymous user browses to the gallery, they can see the Public album and its contents. However the Private album won't be revealed until the user logs in. If there happens to be some generic photo I want the world to see, I can place it in the Public album for all to view. However the family photos all go into the Private album.

I think this gives the desired effect. To find these settings, you need to look at Album Options then Album Permissions menu.

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2014-03-25 23:19

spags, well defined - thanks!

 
agroszer

Joined: 2014-03-25
Posts: 2
Posted: Wed, 2014-03-26 07:59

spags,

yeah, thanks, you got me!

My problem e.g. with piwigo is that it exposes thumbnails to the world without any login.
Not easy to guess the URL, but still...

I'll try to setup like that.

 
cpc1

Joined: 2014-03-27
Posts: 3
Posted: Thu, 2014-03-27 06:03

I know what you mean...

...just remove view permissions from Everyone group and you should only get a login prompt.

If you're running on Apache server you have to setup mod_rewrite and AllowOverrides like the gallery FAQs say

If you are running on nginx, you also need rewrite rules ...https://gist.github.com/cite/6419890

if not, your albums / image urls are publicly visible without login