I did this recently for an item but it looks like you could do it for a 
collection as well.  For an item, Edit > Status > Authorizations and the first 
policy should be the item policy, where you can change Anonymous to your IP 
group.  Then the item should be visible only to that group, but not the public. 
  For a collection, I have not tested it, but try Edit > Authorizations to edit 
the groups.  Or try Access Control and apply a condition to the metadata.  In 
this case there may be some work to get your IP group listed as one of the 
access conditions in the drop-down.

Philip
________________________________
From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of 
Julia Gilmore <jgilmor...@gmail.com>
Sent: Monday, May 13, 2024 10:26 AM
To: DSpace Technical Support <dspace-tech@googlegroups.com>
Subject: [dspace-tech] Re: Dspace IP Authorization for particular collection

Hi all,

Following up on Salony's question - we are also wondering if its possible to 
require authorization to view a specific collection, and how we would go about 
setting that up?

Our use case: Requiring student Id login via Shibboleth authentication to view 
a test bank.

Suggestion: Any students that login via Shibboleth are assigned to a user group 
that has read access for the collection. Not sure if this is the way to go 
about it though!

Any guidance would be appreciated.

Thank you,

Julia

On Wednesday 3 January 2024 at 11:04:23 UTC-5 Salony Permanand wrote:
Hello All,

I am using DSpace 7.6

I want to access restrict to particular collection for the general public, but 
if a user visits from an on-campus IP address, they can download/view the files.

For that I created a group named ipdata and provide authorization to that. 
Attached screnshot below

I havn't added any user to group

from authentication.cfg
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = 
org.dspace.authenticate.IPAuthentication
and from authentication-ip.cfg
authentication-ip.ipdata = 1.2.3.4

Now If I want to access that collection from any  ip other than 1.2.3.4 , then 
it is showing all data. I also created new items after changes , that also not 
helped

 How will I restrict all ip's other than required

Any help is highly appreciated

Salony Permanand
Mob: 7275838206<tel:(727)%20583-8206>

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/336887d4-e6ee-4232-943b-0f36103e1e8bn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/336887d4-e6ee-4232-943b-0f36103e1e8bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR05MB86210D3D570214A4ED15087589EC2%40PH0PR05MB8621.namprd05.prod.outlook.com.

Reply via email to