EPrints Technical Mailing List Archive
Message: #08455
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] IP Based access on restricted documents
- To: <eprints-tech@ecs.soton.ac.uk>, RAJA VISHWA <rajamca66@gmail.com>
- Subject: Re: [EP-tech] IP Based access on restricted documents
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Mon, 18 Jan 2021 13:59:10 +0000
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://wiki.eprints.org/w/EPrints_User_Group_2015-01-13) at /opt/eprints3/archives/xxx/cfg/cfg.d/security.pl. But no luck.
Could anyone help me out?
Thanks,Raja V
*** 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/
- References:
- [EP-tech] IP Based access on restricted documents
- From: RAJA VISHWA <rajamca66@gmail.com>
- [EP-tech] IP Based access on restricted documents
- Prev by Date: [EP-tech] IP Based access on restricted documents
- Next by Date: Re: [EP-tech] IP Based access on restricted documents
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):