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

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

585 views 7 6
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