[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] IP Based access on restricted documents
- Subject: [EP-tech] IP Based access on restricted documents
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Mon, 18 Jan 2021 13:59:10 +0000
- In-reply-to: <EMEW3|a33f714b23de54147f3529658f912456x0HDkW14eprints-tech-bounces|ecs.soton.ac.uk|CAAZXAPH2nQjq33SpKiu-Jqr=u53MeQ8hyP0UjpEG8UsU+w4i=A@mail.gmail.com>
- References: <CAAZXAPH2nQjq33SpKiu-Jqr=u53MeQ8hyP0UjpEG8UsU+w4i=A@mail.gmail.com> <CAAZXAPH2nQjq33SpKiu-Jqr=u53MeQ8hyP0UjpEG8UsU+w4i=A@mail.gmail.com> <EMEW3|a33f714b23de54147f3529658f912456x0HDkW14eprints-tech-bounces|ecs.soton.ac.uk|CAAZXAPH2nQjq33SpKiu-Jqr=u53MeQ8hyP0UjpEG8UsU+w4i=A@mail.gmail.com> <2d57d5cc-43a3-489e-403b-a83da75ab192@ecs.soton.ac.uk>
Hi Raja,
Yes, there should be settings for this in your archive's
cfg/cfg.d/security.pl.? Be careful to make sure you the function to
lookup the IP addess looks like:
my $ip = $eprint->repository->remote_ip();
As the older way of doing this breaks in recent versions of Apache and
can make documents publicly accessible you would not otherwise intend to be.
Regards
David Newman
On 18/01/2021 13:43, RAJA VISHWA via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Dear Team,
>
> Is it possible to allow restricted document access from the
> institution's IP?
>
> For example, any request is coming from Institution IP ranges shall we
> allow them to access the protected content without authentication?
>
> I just try to configure the file which available? (
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_User_Group_2015-01-13&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XcJ87aaoXnBayJvYcxN4F0%2F45U%2Bmy5snro1v5pz6YTA%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_User_Group_2015-01-13&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XcJ87aaoXnBayJvYcxN4F0%2F45U%2Bmy5snro1v5pz6YTA%3D&reserved=0>)
> at /opt/eprints3/archives/xxx/cfg/cfg.d/security.pl
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsecurity.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=SBzZhXGBblD%2FU%2FxMN4roAERJAniH2xlPawbwvX%2B%2FvpU%3D&reserved=0>.
> But no luck.
>
> Could anyone help me out?
>
> Thanks,
> Raja V
>
> *** 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=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5YK5%2BiBylWZDqeoAqh5j9gAg30ueE%2FEg3cyAAJeKpJ8%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MX56txszwULB8be2k8E0qRSCVGW93ZrQr%2FoZh6jOtMU%3D&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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccd6167c33cbd49f4d9d808d8bbb93b61%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637465751521352824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ix1m%2BqCVAoUqcriKmk8dm1magPVLmTykFu%2FO8rTUDyU%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210118/e69000de/attachment-0001.html