We faced this problem in several of our projects. Unfortunately there
are only technical solutions to this problem.
There may be other solutions using clever webserver configuration, but
the solution we developed was:
1. Move the associated files folder in the collections index to
somewhere that isn't being served by the webserver.
2. Write a PHP script that given an associated file and file name,
returns the file (PHP can use access any file on the harddrive,
including those not being served by the webserver). This script should
also authenticate the user, or redirect to a 'login page' if the user
isn't already authenticated.
3. Change anywhere in Greenstone that directly references the file to
instead point to the script with the appropriate arguments.
I've attached an example PHP script that we use in our of our
I believe they are attempting to put group level permissions in the
latest versions of Greenstone. Perhaps someone working on this code can
help you out. Otherwise the solutions we've used basically involve
rewriting the authenaction.cpp in the receptionist.
Hope this helps.
Greenstone Digital Library and Digitisation Specialists
NARENDRA KUMAR wrote:
> Hello Everyone,
> For resticted access fo the collection to users, my collection was
> working very fine whenever you give the access through the web page
> (greenstone html page). If the access through the original source
> like .PDF, .DOC, etc, it never asks the user's ID and Passwords. I
> would be highly thankful to those who have implemented this feature
> and provide me the solution to implemnet the the restricted accesst
> through the original source document.
> Further, I would like to know how to create the user groups for
> different kinds of users to access the collection as available demo
> user group with the greenstone software.
> I wish Happy New Year 2007 to all greenstone users.
> Dr. Narendra Kumar
> Scientist, NISCAIR,
> New Delhi-110067
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> greenstone-devel mailing list