[greenstone-devel] Re: [greenstone-users] Restricted access of the resources- Reg

From mgsree@iimk.ac.in
DateFri, 12 Jan 2007 13:01:12 +0530 (IST)
Subject [greenstone-devel] Re: [greenstone-users] Restricted access of the resources- Reg
In-Reply-To (11305d350701102323jc64cbb4haa85c4d5ca438bed-mail-gmail-com)
Dear Dr. Narendra Kumar,

We have tested your query at IIMK and we found it's possible to have
restricted access to the source documents, both document-wise as well as
collection-wise.

1. For a document level authentication/restriction, we gave the following
lines in its collection configuration file (collect.cfg):
----------------------------------------------------------------------
authenticate document
private_documents HASH01e159f46d1887b4d53fb56e (*the document)
auth_groups administrator
----------------------------------------------------------------------
These lines should come before the collection meta (*shown below):
collectionmeta collectionname [l=en] "PDF Collection"

2. For a collection, we gave the argument 'collection' against
'authenticate', and omited the second line/next line.
It was working o.k.

3. For suppressing the source document icon in the title page along with
its html icon, we gave the following in the Format Features:

We removed the [srcicon] from VList, and modified the Document Text as
follows.

VList:
=====
<td valign="top">[link][icon][/link]</td>
<td valign="top">[ex.srclink]{Or}{[ex.thumbicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>

Document Text:
==============
[ex.srclink]{Or}{[srcicon],[Text]}[ex./srclink]

It worked. Please try this and let us know.
Best wishes.
Greenstone Support@IIMK

> ---------- Forwarded message ----------
> From: NARENDRA KUMAR <narendra_insdoc@yahoo.com>
> Date: Tue, 9 Jan 2007 21:29:36 -0800 (PST)
> Subject: [greenstone-users] Restricted access of the resources- Reg
> To: greenstone-users@list.scms.waikato.ac.nz,
> greenstone-devel@list.scms.waikato.ac.nz
>
> 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
> India
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
> --
> Biju R
> Junior Library & Information Assistant
> Indian Institute of Management Kozhikode
> IIMK Campus PO
> Kozhikode (Dist)
> Kerala - 673 570
> Phone: 0495 2809147
>
>


Dr. M. G. Sreekumar
Librarian &
Head, Center for Development of Digital Libraries (CDDL)
Indian Institute of Management Kozhikode
IIMK Campus P.O.
Kozhikode, Kerala, India-673 570
------------------------------------------------
Phone : +91 495 2809140 Mobile : 09447654066
Fax : +91 495 2803010/11
Email : mgsree@iimk.ac.in
Web : http://www.iimk.ac.in;
: http://iimk.ac.in/mgsree.htm
================================================