Show/Hide content based on IPs

We have a situation where within the same space, we would like certain content to only be visible based on the users IP that is accessing the system. We have complete control of the base systems (OS, Apache, etc).

Is there a native mechanism for this?

Can it be done with a custom plug-in?

_mike

1 answer

0 vote

Forget Confluence for this - it's not got anything, and even if it did, it's the wrong place. You want to block access well before the user gets to the application.

You want to be looking at IP white-lists for Apache really.

Although I still don't really trust it, as I've been involved in security testing that involves spoofing IP addresses and it's horribly easy to bypass most IP level restrictions we were looking at.

I know we already do a lot of this an the network layer for access to whole sites. What I would like to do is turn on/off peices of content within a page. What about a custom plug-in? Scenario:

- When a user access the site from a specified IP range, we set an environment variable identifying them

- There is a plug-in that inspects that value and conditionally shows content

This is a model we have used in some custom built apps, just wondering if we could re-create that functionality inside Confluence.

I know it's a long shot, just investigating.

_mike

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

311 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you