coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: feiber on January 05, 2011, 02:27:47 AM

Title: how to I encrypt a single picture
Post by: feiber on January 05, 2011, 02:27:47 AM
Hello, everyone!
pls tell me how to I encrypt a single picture,thanks!
Title: Re: how to I encrypt a single picture
Post by: Αndré on January 05, 2011, 09:45:52 AM
I don't know what you're talking about.
Title: Re: how to I encrypt a single picture
Post by: feiber on January 05, 2011, 10:57:39 AM
Quote from: Αndré on January 05, 2011, 09:45:52 AM
I don't know what you're talking about.

I am sorry that I don't express very clearly,
I mean:
when a vistor scan a single picture in my Photo Gallery, he will be requested to provide a password,
Otherwise he cannot open the picture. pls note that I  just encrypt a single photo, not for whole gallery.
Thanks!
Title: Re: how to I encrypt a single picture
Post by: Αndré on January 05, 2011, 11:24:32 AM
You can only set passwords for albums in Coppermine. So you have to move that picture to a separate album. Maybe it's also possible to ask for a password with an appropriate .htaccess file.
Title: Re: how to I encrypt a single picture
Post by: feiber on January 05, 2011, 02:29:29 PM
Quote from: Αndré on January 05, 2011, 11:24:32 AM
You can only set passwords for albums in Coppermine. So you have to move that picture to a separate album. Maybe it's also possible to ask for a password with an appropriate .htaccess file.

Thanks for your reply.
Yes, I know both  method you mentioned,but I want to for a single photo.
Title: Re: how to I encrypt a single picture
Post by: Αndré on January 05, 2011, 02:37:26 PM
As I already told you, that's not possible in Coppermine:
Quote from: Αndré on January 05, 2011, 11:24:32 AM
You can only set passwords for albums in Coppermine.

But:
Quote from: Αndré on January 05, 2011, 11:24:32 AM
Maybe it's also possible to ask for a password with an appropriate .htaccess file.
I haven't checked that, but I assume it's possible to protect single files via htaccess rules.
Title: Re: how to I encrypt a single picture
Post by: feiber on January 05, 2011, 03:31:30 PM
Quote from: Αndré on January 05, 2011, 02:37:26 PM
As I already told you, that's not possible in Coppermine:
But:I haven't checked that, but I assume it's possible to protect single files via htaccess rules.

Thanks!