Hello

Im using cds invenio 0.99.1 and this is the situation, When I insert a new
record of
DEMOART with a PDF file, the file displays perfectly, but, I need to
restrict the file
for only logged users, so I create a xml file (attached to this mail) to
restrict the access
and executed:

bibupload  -r cds-invenio/var/tmp/restricted.xml

Now the file is restricted for guest, but when I logged with admin account,
the file is available
but when I tried to open it, it displays the next error: "File does not
begin with %PDF-"

I wonder if you can help me, or give me another alternative to restrict
files PDF or DOc,
at the moment of submit the file (SBI), so I dont need to run bibupload
after submit the
record,

I want the guest user be capable of reading all the article's reference and
viewing and downloading
files (PDF or DOC) only if they're logged.

-- 
Ing. Karla Gabriela Robles Bernal
Centro de Investigación en Alimentación y Desarrollo A.C.
Servicios de Apoyo
Carretera a la Victoria km 0.6 C.P. 83000
Tel. 2892400 ext 278
<record>
<controlfield tag="001">13</controlfield>
<datafield tag="FFT" ind1="" ind2=" "><subfield code="a">http://cds.ciad.mx/record/13/files/CIAD-ARTICULO-011.pdf</subfield><subfield code="r">Restricted</subfield></datafield>
</record>

Reply via email to