Password-protected galleries in minishowcase v09b131

146 views
Skip to first unread message

victor

unread,
Nov 19, 2007, 9:11:23 PM11/19/07
to minishowcase
Finally, minishowcase got password protection for individual
galleries.

The script is rather simle, so PLEASE DON'T USE IT TO PROTECT
SENSITIVE DATA. It relies on a file which name you can change in
$settings['password_filename'] inside /config/settings.php. The
defualt name is 'password.php'. It is highly recommended that you
change the setting before using passwords, as failing to do so might
render the password vulnerable.

So, after changing the name (for example to 'security'), add a file
'security.php' inside the gallery folder you want to protect and
voilà, your gallery will be protected! Users will then be
prompted for the password when clicking on the menu link.
Unfortunately they'll be prompted every time they visited the same
gallery.

I'm working in a more stable version where you can control how long
the password is valid, so not to annoy the users with constant
password request.

For the moment, I hope you enjoy the new protected minishowcase.
Reply all
Reply to author
Forward
0 new messages