Hello,

authentication-ip.[GROUPNAME] is the correct form see
https://wiki.duraspace.org/display/DSDOC6x/Authentication+Plugins#AuthenticationPlugins-IPAuthentication

Make sure the group exists (otherwise will be warnings in the logs) and got the 
right authorizations.

You need a fix ip and you can work with partial ips etc.
If your DSpace installation is hidden behind a web proxy, remember to set the 
useProxies configuration option within the 'Logging' section of dspace.cfg to 
use the IP address of the user rather than the IP address of the proxy server.

If you go to the profile page of a user you can actually see the groups a user 
belongs to, even the ip based ones. So this is an easy way to check, whether 
the user is in the ip based group and it is an issue with the proper resource 
policies.

Hope this helps

Claudia Jürgen


Am 24.04.2018 um 16:39 schrieb ayousef:

In fact, I've tried it by different ways

I've also tried it like

authentication-ip.SDLMembers2 = 78.95.224.164

And also like

ip.SDLMembers2 = 78.95.224.164

Without any progress.

I'm using the current assigned Dynamic IP address not static IP, Is it a
problem?

On Tuesday, April 24, 2018 at 5:12:07 PM UTC+3, Claudia Jürgen wrote:



Hi,

have you literally

[151.254.127.248]

than omit the square brackets.

Hope this helps

Claudia Jürgen

Am 23.04.2018 um 17:00 schrieb ayousef:


Hello everybody,

I've tried to enable  IP authentication in DSpace 6.1, I've changed the
configurations in both files
authentication.cfg & authentication-ip.cfg, Enabled IP authentication by
un-commenting  the following
config in both authentication.cfg & local.cfg

plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
org.dspace.authenticate.IPAuthentication

Then, Added the IP address in authentication-ip.cfg like the following

WHERE: SDLMembers  is a Dspace authorized group

authentication-ip.SDLMembers = [151.254.127.248]

Then restarted Tomcat to take the effect

but when trying to open a restricted item in DSpace without logging in


and


instead using the
authorized IP by reaching DSpace from this IP, We couldn't show


restricted


items and open the bit-stream files.

Is there any other configurations should be activated to work?

Thanks in advance.

Regards.




--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]<mailto:[email protected]> <javascript:>
www.ub.tu-dortmund.de<http://www.ub.tu-dortmund.de>

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential.
It is solely intended for the recipient. If you are not the intended
recipient of this e-mail please contact the sender and delete this message.
Thank you. Without prejudice of e-mail correspondence, our statements are
only legally binding when they are made in the conventional written form
(with personal signature) or when such documents are sent by fax.







--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]<mailto:[email protected]>
www.ub.tu-dortmund.de<http://www.ub.tu-dortmund.de>

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
You received this message because you are subscribed to the Google Groups "DSpace 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to