Restricted access to service by IP

28 views
Skip to first unread message

Bartosz Nitkiewicz

unread,
Feb 9, 2022, 5:38:03 AM2/9/22
to CAS Community
Hi,
Quick question, whether it is possible to restrict access depending on IP per defined service?

Ray Bon

unread,
Feb 9, 2022, 1:15:02 PM2/9/22
to cas-...@apereo.org
Bartosz,

You could add it to the service you want and have it run after username/password.

You could also try policies.
You could implement the policy as a groovy script or at a REST endpoint, https://apereo.github.io/cas/6.4.x/authentication/Configuring-Authentication-Policy.html



Ray

On Wed, 2022-02-09 at 02:37 -0800, Bartosz Nitkiewicz wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Hi,
Quick question, whether it is possible to restrict access depending on IP per defined service?

-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day.

Bartosz Nitkiewicz

unread,
Feb 10, 2022, 7:21:24 AM2/10/22
to cas-...@apereo.org
Ray,
Thank you. This is what I was looking for.
Bartosz Nitkiewicz



Wiadomość napisana przez Ray Bon <rb...@uvic.ca> w dniu 09.02.2022, o godz. 19:14:

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/6d1935098f99de8dbbf0f01691c9b06912ffae48.camel%40uvic.ca.

Reply all
Reply to author
Forward
0 new messages