EPrints Technical Mailing List Archive
Message: #00299
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Eprints_Question_Belize
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Eprints_Question_Belize
- From: Nicole Weatherburne <nikkiweat@gmail.com>
- Date: Tue, 27 Mar 2012 11:59:21 -0600
Hi, I am Nicole.
I need to make a change in the security.pl file of eprints.
I want all internal staff to not have any restrictions to download archives. But restrictions will stay the same for internet users.
So on our internal network all archives will be open for view/download.
Currently all I know the change has to be made in the security.pl file
I see the code below in the file:
If I get the code right below, it is allowing ALL access by user internal IP address on an internal network.
my( $oncampus ) = 0;
$_oncampus_ = 1 if( $ip eq "192.168.1.5" );
return( "USER" ) if( $security eq "campus_and_validuser" && $oncampus );
return( "ALLOW" ) if( $security eq "campus_or_validuser" && $oncampus );
return( "ALLOW" ) if( $security eq "campus" && $oncampus );
What other setup can I have?
Can you please give your recommendations on a setup?
Any help would be greatly appreciated.
Thanks,
--
Nicole Weatherburne
Database Administrator
Environmental Research Institute
University of Belize
Belmopan Campus
Tel: 501-822-3680 ext 438; 501-822-2701
- Prev by Date: [EP-tech] Re: Adding link to database of experts -- vague instructions
- Next by Date: [EP-tech] Preservation toolkit - triggering classification
- Previous by thread: [EP-tech] link to upload the document
- Next by thread: [EP-tech] Preservation toolkit - triggering classification
- Index(es):