[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Problem with eprints 3.4 file restricted
- Subject: [EP-tech] Problem with eprints 3.4 file restricted
- From: prazetyo at gmail.com (Ajunk Pracetio)
- Date: Fri, 10 Jul 2020 16:27:25 +0700
- In-reply-to: <cf998dea-80cc-764d-4657-a9a166bec92d@ecs.soton.ac.uk>
- References: <CACOEPmONPkEDpek7SCT6CiRUEQNw52JhpOQ=TOK7XQHN1pNwGA@mail.gmail.com> <14f54d61-e6a4-c1a6-0db5-f572c26a87f6@alfa.it> <EMEW3|efa4606265e89da75718bb2302a82367w6893914eprints-tech-bounces|ecs.soton.ac.uk|CACOEPmONPkEDpek7SCT6CiRUEQNw52JhpOQ=TOK7XQHN1pNwGA@mail.gmail.com> <CACOEPmN4Z5RL1eEqSeW=xZFPDQ3vhuKUJMyXx+9COeiDmaqzcw@mail.gmail.com> <EMEW3|597cddb72afef04a675f5ea836fcaf79w689do14eprints-tech-bounces|ecs.soton.ac.uk|14f54d61-e6a4-c1a6-0db5-f572c26a87f6@alfa.it> <EMEW3|3b8dc91a61b6c3288f8778f0a527d840w693Co14eprints-tech-bounces|ecs.soton.ac.uk|CACOEPmN4Z5RL1eEqSeW=xZFPDQ3vhuKUJMyXx+9COeiDmaqzcw@mail.gmail.com> <CACOEPmOf9DTOyBcwJkLk8YcL4ej2g4o8S5ixkVKv947RoLd6aQ@mail.gmail.com> <cf998dea-80cc-764d-4657-a9a166bec92d@ecs.soton.ac.uk> <CACOEPmOFXki=zbqO5M3CZ-PYMx7fQ-pqidnrhXfuTHD0aLwGMw@mail.gmail.com>
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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&reserved=0>
>>> > <
>>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fissues%2F322&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=tF5Vju0msBxzYUhtLTQ7e8NckiRpRrAkZlIMWEdPOgY%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0>
>>> > *** EPrints community wiki:
>>> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0>
>>> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&reserved=0
>>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=wzVKyAn5i0T57J%2FPQqruMWsOW0V2n%2F6cBnrT10U5rc8%3D&reserved=0>
>> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=FF1I4R%2FadNKwnKeZd8AC6p5vn134Y6K5UcrJrFUMSHE%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=MNlLgtatSzhQwPRvJdjJUgBa9uIvlQ1oBg8j7IijyRE%3D&reserved=0> Virus-free.
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=8rKDazhZR0cVywzrc0gBPBD%2F3jRIqrf9WuW%2FlFopnpE%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3a8725d2cd0c4c1db27908d824b37cb0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=MNlLgtatSzhQwPRvJdjJUgBa9uIvlQ1oBg8j7IijyRE%3D&reserved=0>
> <#m_1932497942636495818_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200710/02cc64ba/attachment-0001.html