# Public ip access only to selected category

**URL:** <https://meta.discourse.org/t/public-ip-access-only-to-selected-category/107611>\
**Category:** Development\
**Created:** [26.Январь.2019 17:45:38 UTC](https://meta.discourse.org/t/public-ip-access-only-to-selected-category/107611 "2019-01-26T17:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [26.Январь.2019 20:42:24 UTC](https://meta.discourse.org/t/public-ip-access-only-to-selected-category/107611/5 "2019-01-26T20:42:24Z")

</div>

I have another idea to make this.  
Since my discource getting users from my .net app over SSO  
My .net app already watching is request public or private.  
Two thing that I do not how to make.  
Is there a way to my .net app in sso payload active change premisions for user.  
It this cloud be done then my site can tell discource, this is unsceure user let him see only public categories.

Also is there a way to push Discourse requesting sso payload more often or every time source IP change on request or just to some how make discource log off user more often so they need to talk with SSO server

* * *

Apologies for spaming, but If i did not ask, I will never reailized the way.  
My sso site can put members in grup and alos can remove from ir

> ### Specifying group membership
> 
> You may specify group membership in your SSO payload using the `add_groups` and `remove_groups` attributes.
> 
> `add_groups` is a comma delimited list of group names we will ensure the user is a member of.  
> `remove_groups` is a comma delimited list of group names we will ensure the user is **not** a member of.

Only question I do not know is  
How to tell discource to send users to login again.  
Is there any settings to change so users are push to sing in again ?

---

_[View the full topic](https://meta.discourse.org/t/public-ip-access-only-to-selected-category/107611)._
