I added following code at the beggining of rss.php
`
$_zp_current_album = new Album(new Gallery(), $_GET['album']);
$authType = "zp_album_auth_" . $_zp_current_album->get('id');
$check_auth = $_zp_current_album->getPassword();
$check_user = $_zp_current_album->getUser();
if (isset($_GET['pass']) && isset($_GET['user'])) {
$post_user = sanitize($_GET['user']);
$post_pass = sanitize($_GET['pass']);
$auth = $_zp_authority->passwordHash($post_user, $post_pass);
$success = ($auth == $check_auth) && $post_user == $check_user;
$success = zp_apply_filter('guest_login_attempt', $success, $post_user, $post_pass, $authType);
if ($success) {
zp_setcookie($authType, $auth);
}
}
`
URL in following form is working now for protected albums, which is enough for me:
http://zp.andrs.net/index.php?rss&album=<album_folder>&user=<album_user>&pass=<album_password>