[index] [options] [help]

eprints_tech messages

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: David R Newman via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Thu, 9 Jul 2020 09:13:18 +0100


Threading:      • This Message
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk


Hi Agung Prasetyo W.,

Please could you give a bit more detail.  Is this 3.4 install a new 
install or an upgrade from EPrints 3.3?  If so you may still have an old 
cfg/cfg.d/security.pl at the archive level that looks up the IP address 
in a no longer supported way, which causes access restriction to break.  
I can see that you have read the GitHub issue that looks to be relate to 
a similar issue.  So I am guessing you will have already checked this file.

I have not seen this issue with any vanilla installs of EPrints 3.4.  Is 
the version of EPrints 3.4 you have installed 3.4.0 or 3.4.1?  Is it a 
zero install or a publication (pub_lib) flavour? If you want to 
privately send me the link to the publication that has a downloadable 
file that should be restricted this may help be get a better idea of 
what is going wrong.

Regards

David Newman

On 09/07/2020 08:59, Ajunk Pracetio via Eprints-tech wrote:
> Why is my eprints 3.4 when my document is restricted to user only, can 
> still be downloaded.
>
> I have also read 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C4810b385dfbb4d65fa8d08d823dff184%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Ug8W8QFGgpLwdeuGvft21S8K%2FppTaCBF5UU9BQfv9kE%3D&amp;reserved=0 
> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C4810b385dfbb4d65fa8d08d823dff184%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Ug8W8QFGgpLwdeuGvft21S8K%2FppTaCBF5UU9BQfv9kE%3D&amp;reserved=0> 
> and configured the suggested files, but the files can still be downloaded.
>
> Please help.
>
> Regards,
> Agung Prasetyo W.
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C4810b385dfbb4d65fa8d08d823dff184%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2BtCByvqjZD3aiu0nCOFgo9i2xKnInjsKZa3e0cT3ea0%3D&amp;reserved=0
> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C4810b385dfbb4d65fa8d08d823dff184%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=IqCtG3D%2FMCxI6AdT5FzZ6Sb2h85SWUxfF%2FBKgTT5hPY%3D&amp;reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7C4810b385dfbb4d65fa8d08d823dff184%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eeFzmNct8ryvRdngQq1ruBGficaGRz9t8weOrK8OZ2Y%3D&amp;reserved=0

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: John Salter via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Thu, 9 Jul 2020 08:37:16 +0000


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message



ATTACHMENT: default!

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: Yuri via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Thu, 9 Jul 2020 10:37:48 +0200


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message

Hi!

  did you try with another browser? If it works, then If it was the same 
browser, it is downloading from the cache even if you logout.

Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha scritto:
> Why is my eprints 3.4 when my document is restricted to user only, can 
> still be downloaded.
>
> I have also read 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ceb4381612b664ebe0f5908d823e35eb3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2B12Ib0VWRQrHgnDvTL26XdXd1onTjWhn2VAPCdIY0PU%3D&amp;reserved=0 
> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ceb4381612b664ebe0f5908d823e35eb3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2B12Ib0VWRQrHgnDvTL26XdXd1onTjWhn2VAPCdIY0PU%3D&amp;reserved=0> 
> and configured the suggested files, but the files can still be downloaded.
>
> Please help.
>
> Regards,
> Agung Prasetyo W.
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ceb4381612b664ebe0f5908d823e35eb3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=fERxa4Ed6C7w632fUjRyG5H%2BMdhEckLRYG%2Fg%2FkL9yY8%3D&amp;reserved=0
> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ceb4381612b664ebe0f5908d823e35eb3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=XHj87LM2apkymZUdcLk15DlMHWvQaqvZRxqsEoxRjn4%3D&amp;reserved=0

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/


Re: [EP-tech] Problem with eprints 3.4 file restricted

From: Ajunk Pracetio via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 09:12:27 +0700


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
             Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk


Hi,

I already tried on other browser, but the file still can download.

On Thu, Jul 9, 2020 at 3:39 PM Yuri via Eprints-tech <
eprints-tech AT ecs.soton.ac.uk> wrote:

> Hi!
>
>   did you try with another browser? If it works, then If it was the same
> browser, it is downloading from the cache even if you logout.
>
> Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha scritto:
> > Why is my eprints 3.4 when my document is restricted to user only, 
can
> > still be downloaded.
> >
> > I have also read
> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RCl1Wz%2BpzIsZtK61hsy7tD6REKnASck0OL9NFP0nELM%3D&amp;reserved=0
> > <
> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RCl1Wz%2BpzIsZtK61hsy7tD6REKnASck0OL9NFP0nELM%3D&amp;reserved=0>
>
> > and configured the suggested files, but the files can still be
> downloaded.
> >
> > Please help.
> >
> > Regards,
> > Agung Prasetyo W.
> >
> > *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive:
> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=gwDB%2FbIewbEo7rFmj7ukl3QtyYxDaI4rYaI9U%2FFPGbE%3D&amp;reserved=0
> > *** EPrints community wiki:
> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=rKJhASIw5Vgk4wfAg%2B%2BnyKJKMOn8fhxxmlpKubufzso%3D&amp;reserved=0
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=gwDB%2FbIewbEo7rFmj7ukl3QtyYxDaI4rYaI9U%2FFPGbE%3D&amp;reserved=0
> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03af6197135e43e0da7908d82476b88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=rKJhASIw5Vgk4wfAg%2B%2BnyKJKMOn8fhxxmlpKubufzso%3D&amp;reserved=0

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: Ajunk Pracetio via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 15:30:51 +0700


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message


Hi,

Is there any file that I must check to make my file can be restricted?

Please need your help.

Thank you

Best regards.
Agung Prasetyo Wibowo

On Fri, Jul 10, 2020 at 9:13 AM Ajunk Pracetio via Eprints-tech <
eprints-tech AT ecs.soton.ac.uk> wrote:

> Hi,
>
> I already tried on other browser, but the file still can download.
>
> On Thu, Jul 9, 2020 at 3:39 PM Yuri via Eprints-tech <
> eprints-tech AT ecs.soton.ac.uk> wrote:
>
>> Hi!
>>
>>   did you try with another browser? If it works, then If it was the 
same
>> browser, it is downloading from the cache even if you logout.
>>
>> Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha scritto:
>> > Why is my eprints 3.4 when my document is restricted to user 
only, can
>> > still be downloaded.
>> >
>> > I have also read
>> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JUIXkbpAjK80R2G3HpBZcGWQWFXsw8J0h8A3Nf%2FkHvw%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JUIXkbpAjK80R2G3HpBZcGWQWFXsw8J0h8A3Nf%2FkHvw%3D&amp;reserved=0>
>> > <
>> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JUIXkbpAjK80R2G3HpBZcGWQWFXsw8J0h8A3Nf%2FkHvw%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=JUIXkbpAjK80R2G3HpBZcGWQWFXsw8J0h8A3Nf%2FkHvw%3D&amp;reserved=0>>
>>
>> > and configured the suggested files, but the files can still be
>> downloaded.
>> >
>> > Please help.
>> >
>> > Regards,
>> > Agung Prasetyo W.
>> >
>> > *** Options:
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> > *** Archive:
>> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZRRfsdUMApLYOoPAEIQZ6O6Dz%2FJD3fQxJlmgpiVrbBo%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZRRfsdUMApLYOoPAEIQZ6O6Dz%2FJD3fQxJlmgpiVrbBo%3D&amp;reserved=0>
>> > *** EPrints community wiki:
>> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Q5oL5rD3HqsanVc6QIV%2FjKQxShDkl4c%2BdxQo0w8ueKQ%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Q5oL5rD3HqsanVc6QIV%2FjKQxShDkl4c%2BdxQo0w8ueKQ%3D&amp;reserved=0>
>>
>> *** Options: 
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZRRfsdUMApLYOoPAEIQZ6O6Dz%2FJD3fQxJlmgpiVrbBo%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZRRfsdUMApLYOoPAEIQZ6O6Dz%2FJD3fQxJlmgpiVrbBo%3D&amp;reserved=0>
>> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Q5oL5rD3HqsanVc6QIV%2FjKQxShDkl4c%2BdxQo0w8ueKQ%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Q5oL5rD3HqsanVc6QIV%2FjKQxShDkl4c%2BdxQo0w8ueKQ%3D&amp;reserved=0>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZRRfsdUMApLYOoPAEIQZ6O6Dz%2FJD3fQxJlmgpiVrbBo%3D&amp;reserved=0
> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd839207a41184c7f351508d824ab95d2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Q5oL5rD3HqsanVc6QIV%2FjKQxShDkl4c%2BdxQo0w8ueKQ%3D&amp;reserved=0

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: David R Newman via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 09:38:32 +0100


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message


Hi Agung Prasetyo Wibowo,

It does not look like the reason the file is accessible is due to 
caching and it does not sound like you have coversheets enabled which 
can cause some issues with file access.  As I said in a previous email 
you can check that 
EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/security.pl uses the 
correct method to lookup an IP address is

my $ip = $doc->repository->remote_ip();

(and not my $ip = $r->connection()->remote_ip();)

Beyond this, I think it is worth tailing you webserver log files whilst 
trying to download this file to see if you are getting any errors.  On 
RedHat/CentOS/Fedora this would be something like:

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log

I am not sure if you have HTTPS enabled.  If you don't then you need not 
include ssl_error_log in the command line above.

Regards

David Newman


On 10/07/2020 09:30, Ajunk Pracetio wrote:

> Hi,
>
> Is there any file that I must check to make my file can be restricted?
>
> Please need your help.
>
> Thank you
>
> Best regards.
> Agung Prasetyo Wibowo
>
> On Fri, Jul 10, 2020 at 9:13 AM Ajunk Pracetio via Eprints-tech 
> <eprints-tech AT ecs.soton.ac.uk <mailto:eprints-tech AT 
ecs.soton.ac.uk>> 
> wrote:
>
>     Hi,
>
>     I already tried on other browser, but the file still can download.
>
>     On Thu, Jul 9, 2020 at 3:39 PM Yuri via Eprints-tech
>     <eprints-tech AT ecs.soton.ac.uk
>     <mailto:eprints-tech AT ecs.soton.ac.uk>> wrote:
>
>         Hi!
>
>           did you try with another browser? If it works, then If it
>         was the same
>         browser, it is downloading from the cache even if you logout.
>
>         Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha scritto:
>         > Why is my eprints 3.4 when my document is restricted to user
>         only, can
>         > still be downloaded.
>         >
>         > I have also read
>         
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=18x0Y1Koko%2Btf91QF%2B1DYXnjKeeCIUehmnToN8DjqHY%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=18x0Y1Koko%2Btf91QF%2B1DYXnjKeeCIUehmnToN8DjqHY%3D&amp;reserved=0>
>
>         >
>         
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=18x0Y1Koko%2Btf91QF%2B1DYXnjKeeCIUehmnToN8DjqHY%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=18x0Y1Koko%2Btf91QF%2B1DYXnjKeeCIUehmnToN8DjqHY%3D&amp;reserved=0>>
>
>         > and configured the suggested files, but the files can still
>         be downloaded.
>         >
>         > Please help.
>         >
>         > Regards,
>         > Agung Prasetyo W.
>         >
>         > *** Options:
>         http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>         > *** Archive:
>         
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0>
>         > *** EPrints community wiki:
>         
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0>
>
>         *** Options:
>         http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>         *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0>
>         *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0
>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0>
>
>     *** Options:
>     http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>     *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0
>     
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=X0xNFhevWtSDNSHsftv%2BhKUmAuWwkRY%2Blpa5ZWhfb7o%3D&amp;reserved=0>
>     *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0
>     
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YihHmpIiXLdKJl1wf0NWuuaxvDb6LmkgasrzYkoOKWE%3D&amp;reserved=0>
>


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7Cb415244cb6ca4196639d08d824aca2b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Yd7TSffc%2FMwM4ji8FQBez1h3D6yf3TjGtZmSAOgtL%2B8%3D&amp;reserved=0

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: John Salter via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 09:17:47 +0000


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message



ATTACHMENT: default!

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: Ajunk Pracetio via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 16:27:25 +0700


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message


Hi,

After I search on my archives/repo_name/cfg/cfg.d/ directory and change the
security.pl like you said, the file success can not be downloaded. I'm
sorry for my miss perception that I read on github it says on
defaultcfg/cfg/d/ directory.

Thank you very much David and Yuri all your help.

Best regards,
Agung Prasetyo W.

On Fri, Jul 10, 2020 at 3:38 PM David R Newman <drn AT ecs.soton.ac.uk> 
wrote:

> Hi Agung Prasetyo Wibowo,
>
> It does not look like the reason the file is accessible is due to caching
> and it does not sound like you have coversheets enabled which can cause
> some issues with file access.  As I said in a previous email you can check
> that EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/security.pl uses the
> correct method to lookup an IP address is
>
> my $ip = $doc->repository->remote_ip();
>
> (and not my $ip = $r->connection()->remote_ip();)
>
> Beyond this, I think it is worth tailing you webserver log files whilst
> trying to download this file to see if you are getting any errors.  On
> RedHat/CentOS/Fedora this would be something like:
>
> tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
>
> I am not sure if you have HTTPS enabled.  If you don't then you need not
> include ssl_error_log in the command line above.
>
> Regards
>
> David Newman
>
>
> On 10/07/2020 09:30, Ajunk Pracetio wrote:
>
> Hi,
>
> Is there any file that I must check to make my file can be restricted?
>
> Please need your help.
>
> Thank you
>
> Best regards.
> Agung Prasetyo Wibowo
>
> On Fri, Jul 10, 2020 at 9:13 AM Ajunk Pracetio via Eprints-tech <
> eprints-tech AT ecs.soton.ac.uk> wrote:
>
>> Hi,
>>
>> I already tried on other browser, but the file still can download.
>>
>> On Thu, Jul 9, 2020 at 3:39 PM Yuri via Eprints-tech <
>> eprints-tech AT ecs.soton.ac.uk> wrote:
>>
>>> Hi!
>>>
>>>   did you try with another browser? If it works, then If it was 
the same
>>> browser, it is downloading from the cache even if you logout.
>>>
>>> Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha scritto:
>>> > Why is my eprints 3.4 when my document is restricted to user 
only, can
>>> > still be downloaded.
>>> >
>>> > I have also read
>>> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&amp;reserved=0>
>>> > <
>>> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&amp;reserved=0>>
>>>
>>> > and configured the suggested files, but the files can still 
be
>>> downloaded.
>>> >
>>> > Please help.
>>> >
>>> > Regards,
>>> > Agung Prasetyo W.
>>> >
>>> > *** Options:
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>> > *** Archive:
>>> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0>
>>> > *** EPrints community wiki:
>>> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0>
>>>
>>> *** Options:
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0>
>>> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0
>>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0>
>>
>> *** Options: 
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&amp;reserved=0>
>> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0
>> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&amp;reserved=0>
>
>
>
> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MNlLgtatSzhQwPRvJdjJUgBa9uIvlQ1oBg8j7IijyRE%3D&amp;reserved=0> Virus-free.
> 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=8rKDazhZR0cVywzrc0gBPBD%2F3jRIqrf9WuW%2FlFopnpE%3D&amp;reserved=0
> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MNlLgtatSzhQwPRvJdjJUgBa9uIvlQ1oBg8j7IijyRE%3D&amp;reserved=0>
> <#m_1932497942636495818_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: David R Newman via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 11:26:55 +0100


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message


Hi Agung Prasetyo W.,

Whilst the multiple versions of the same file are useful to allow local 
configuration to override core configuration, it can sometimes cause 
confusion like this.  The GitHub issue refers to fixing the general 
issue so that when you create a new repository it will not suffer from 
this bug.  Unfortunately, it does not help fix existing repositories.  
It was something that could not be accounted for when it was originally 
written many years ago, as it could not have been known that how Perl 
interacted with Apache would change in Apache 2.4 and therefore create 
this security bug.

Regards

David Newman

On 10/07/2020 10:27, Ajunk Pracetio wrote:
> Hi,
>
> After I search on my archives/repo_name/cfg/cfg.d/ directory and 
> change the security.pl 
> 
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsecurity.pl%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=vx4jsOu4JaF%2BzZp0uYtjwfM85GxozM%2BXWSORF35Kxo4%3D&amp;reserved=0> 
> like you said, the file success can not be downloaded. I'm sorry for 
> my miss perception that I read on github it says on defaultcfg/cfg/d/ 
> directory.
>
> Thank you very much David and Yuri all your help.
>
> Best regards,
> Agung Prasetyo W.
>
> On Fri, Jul 10, 2020 at 3:38 PM David R Newman <drn AT ecs.soton.ac.uk 
> <mailto:drn AT ecs.soton.ac.uk>> wrote:
>
>     Hi Agung Prasetyo Wibowo,
>
>     It does not look like the reason the file is accessible is due to
>     caching and it does not sound like you have coversheets enabled
>     which can cause some issues with file access.  As I said in a
>     previous email you can check that
>     EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/security.pl
>     
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsecurity.pl%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=vx4jsOu4JaF%2BzZp0uYtjwfM85GxozM%2BXWSORF35Kxo4%3D&amp;reserved=0>
>     uses the correct method to lookup an IP address is
>
>     my $ip = $doc->repository->remote_ip();
>
>     (and not my $ip = $r->connection()->remote_ip();)
>
>     Beyond this, I think it is worth tailing you webserver log files
>     whilst trying to download this file to see if you are getting any
>     errors.  On RedHat/CentOS/Fedora this would be something like:
>
>     tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
>
>     I am not sure if you have HTTPS enabled.  If you don't then you
>     need not include ssl_error_log in the command line above.
>
>     Regards
>
>     David Newman
>
>
>     On 10/07/2020 09:30, Ajunk Pracetio wrote:
>
>>     Hi,
>>
>>     Is there any file that I must check to make my file can be
>>     restricted?
>>
>>     Please need your help.
>>
>>     Thank you
>>
>>     Best regards.
>>     Agung Prasetyo Wibowo
>>
>>     On Fri, Jul 10, 2020 at 9:13 AM Ajunk Pracetio via Eprints-tech
>>     <eprints-tech AT ecs.soton.ac.uk
>>     <mailto:eprints-tech AT ecs.soton.ac.uk>> wrote:
>>
>>         Hi,
>>
>>         I already tried on other browser, but the file still can
>>         download.
>>
>>         On Thu, Jul 9, 2020 at 3:39 PM Yuri via Eprints-tech
>>         <eprints-tech AT ecs.soton.ac.uk
>>         <mailto:eprints-tech AT ecs.soton.ac.uk>> wrote:
>>
>>             Hi!
>>
>>               did you try with another browser? If it works, then If
>>             it was the same
>>             browser, it is downloading from the cache even if you 
logout.
>>
>>             Il 09/07/20 09:59, Ajunk Pracetio via Eprints-tech ha
>>             scritto:
>>             > Why is my eprints 3.4 when my document is restricted 
to
>>             user only, can
>>             > still be downloaded.
>>             >
>>             > I have also read
>>             
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=sq28%2BUgCAcn5YEo4T3SbLyZwiH31XVpDmTjwxx55%2B6w%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=sq28%2BUgCAcn5YEo4T3SbLyZwiH31XVpDmTjwxx55%2B6w%3D&amp;reserved=0>
>>
>>             >
>>             
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=sq28%2BUgCAcn5YEo4T3SbLyZwiH31XVpDmTjwxx55%2B6w%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=sq28%2BUgCAcn5YEo4T3SbLyZwiH31XVpDmTjwxx55%2B6w%3D&amp;reserved=0>>
>>
>>             > and configured the suggested files, but the files can
>>             still be downloaded.
>>             >
>>             > Please help.
>>             >
>>             > Regards,
>>             > Agung Prasetyo W.
>>             >
>>             > *** Options:
>>             
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>             > *** Archive:
>>             
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0>
>>             > *** EPrints community wiki:
>>             
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0>
>>
>>             *** Options:
>>             
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>             *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0>
>>             *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0
>>             
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0>
>>
>>         *** Options:
>>         http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>         *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0
>>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hIgChtWxiVVXNC34OaEfB%2BsZbIuh%2FEZ81LJ3IZTiSJ0%3D&amp;reserved=0>
>>         *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0
>>         
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AEM7DheR1U0ncHT%2BaMmbF1wV85WtEH1O%2FWrM6R8SK4I%3D&amp;reserved=0>
>>
>
>     
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QendOCZR%2FgrmCk9j7W9P2DP4Y7FbdR0r0kzQllxZ%2BJc%3D&amp;reserved=0>
>     	Virus-free. 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=zDyn%2FGkNew1ubg5yzHD34fraVGFNrHMteA2Y%2F8BizDo%3D&amp;reserved=0
>     
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QendOCZR%2FgrmCk9j7W9P2DP4Y7FbdR0r0kzQllxZ%2BJc%3D&amp;reserved=0>
>
>
>     <#m_1932497942636495818_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7C693b9fa1afca48f7098d08d824bbc4f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0oF4o%2FpFC8RzurpilVRCv9E1kfeBm0P9J%2F8dARBvQPU%3D&amp;reserved=0

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

Re: [EP-tech] Problem with eprints 3.4 file restricted

From: John Salter via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Fri, 10 Jul 2020 10:43:46 +0000


Threading: Re: [EP-tech] Problem with eprints 3.4 file restricted from eprints-tech AT ecs.soton.ac.uk
      • This Message



ATTACHMENT: default!

ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/

[index] [options] [help]