Back to Plugins

Secure Images

Revision 0.5.0

17 years ago
14,466
Not compatible with the latest version of Piwigo
Lunedì 2 Ottobre 2006 17 years 11 months ago

secureImages n'est plus un MOD, mais un plugin à part entière si vous utilisez PHPWG 1.7 !

Ce MOD vous permet de complètement bloquer l'accès à vos images à tout utilisateur n'en n'ayant pas les droits, sans avoir besoin d'utiliser une authentification HTTP.
Après installation, copier le fichier plugin/secureImages/htaccess_Sample dans votre répertoire 'galleries' et renommez le en '.htaccess'.

ATTENTION: Ce MOD ne permet pas d'empêcher des visiteurs d'enregistrer les images qu'ils visualisent sur votre site. Ceci est en fait tout simplement impossible...


secureImages is not a MOD anymore when using PHPWG 1.7, but a normal plugin (no modification of the files needed)!

This MOD allows you to block unauthorized access to your images without having to use HTTP authentification.
After installation, copy the plugin/secureImages/.htaccess file to your 'galleries' directory and rename it to '.htaccess'.

ATTENTION: This MOD does not prevent visitors from saving copies of the images displayed on your website. The latter is in fact simply impossible...

Revisions 19

Revisione 0.5.0

Released on Giovedì 23 Agosto 2007

2,232

Compatible with Piwigo 1.7

17 years acp

* Plugin is now configurable (options are saved in a data.dat file). Thanks
to flipflip for his tutorial: http://phpwebgallery.net/doc/doku.php/fr:utiliser:faire_un_plugin?s=data%20dat
* Two types of .htaccess can now be generated:
_ complete: all files are handled by getFile.php
_ selective: we only protect private files; all those available to guests
(either because they are public, or because they are attached to a public
virtual category) are not handled by getFile.php, instead we redirect the
web browser to the file itself, something that is allowed by the .htaccess
files. (ATTENTION, this mode is not always supported by the webhoster;
free.fr does not allow this normally)
* Finally dealing with files that are not images. You can exclude file types
based on their extension. For instance, you may wish to grant direct access
(not through getFile.php) on all *.avi files (for performance purposes or
issues with your webhoster).
Only possible with selective type of .htaccess.
* Possible to exclude files based on their size (once again for performance
purposes, or issues with your webhoster).
Only possible with selective type of .htaccess.
You need to have metadata synchronized.
* You can add extra commands in the generated .htaccess files through the
configuration panel (pre- or append, or both)
* Possibility to remove all .htaccess files to revert to normal (Uninstall
option is now available when the plugin is desactivated)
* Private thumbnails representing public categories are now accessible, see http://forum.phpwebgallery.net/viewtopic.php?id=11248
Thanks to vimages for reporting.
* Modified code for .htaccess generation. Using PHP classes although
compatibility with PHP4 does not allow any fancy stuff...
* Access to forbidden images redirects to an error icon instead of an empty
page.
* Cache-Control is now handled; it was supposed to work already, don't know
what happened there. If the image is available in the user's cache, we do
not send it again: better performance.

Revisione 0.4.4-beta

Released on Giovedì 19 Luglio 2007

1,048

Revisione 0.4.3

Released on Mercoledì 30 Maggio 2007

843

Revisione 0.4.2

Released on Mercoledì 23 Maggio 2007

887

Revisione 0.4-1

Released on Sabato 31 Marzo 2007

842

Revisione 0.4

Released on Mercoledì 13 Dicembre 2006

780

Revisione 0.3-2

Released on Martedì 5 Dicembre 2006

1,155

Revisione 0.3-1

Released on Lunedì 6 Novembre 2006

1,135

Revisione 0.3

Released on Domenica 29 Ottobre 2006

1,049

Revisione 0.2-1

Released on Martedì 10 Ottobre 2006

1,146

Revisione 0.2

Released on Domenica 8 Ottobre 2006

1,081

Revisione 0.1-1

Released on Venerdì 6 Ottobre 2006

1,158

Revisione 0.1

Released on Lunedì 2 Ottobre 2006

1,110