Index Help

Most recent extensions

(2 extensions)

Secure Images

1 2 3 4 5

Revision 0.5.0 (2007-08-23)

  • Author: acp
  • Categories: Plugin
  • Compatible with: Piwigo releases 1.7
  • Downloads: 10551

About: 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...

Changes: * 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.

PHPWG-tools

Revision 0.1 (2006-11-01)

  • Author: acp
  • Categories: Tool
  • Compatible with: Piwigo releases 1.6, 1.5
  • Downloads: 1185

About: Suite of Perl scripts that can make your usage of phpwebgallery a lot easier.

Currently includes:

* createPackage: script that makes the creation/maintenance of extensions packages a lot easier (intended to be used by extension developers).

Tested on Linux, should work on Mac OS X. Doesn't work on Windows.

Dependencies:
_ Perl 5
_ diff

Changes: Now containing only createPackage. See changelogs for further details.

(2 extensions)
github twitter newsletter Donate Piwigo.org © 2002-2020 · Contact