SQL plugin Space Security

For those of you using the SQL plugin, I have a question.

I know that I can use the Macro Security plugin to restrict who can use a plugin (and that is good). But, aside from that.

Lets say that I have a user who is allowed to use the SQL plugin, and that I have two spaces. One space called "Open" and one space called "Super secret". The user who has permission to use the plugin, and access to the "Open" space, but not to the "Super secret" space, will he be able to do a sql query from his "Open" space, to gain access to the "Super secret" space and display the information on his "Open" space?

1 answer

1 accepted

Yes, once you provide the user access to a datasource representing the Confluence database, then you are providing access to all the data - Confluence security is not involved. This is strictly a database access thing just like given the user an external query tool to look at the database.

In this situation, you want to restrict direct access to the SQL macro by the user and instead provide query capabilities using techniques like Live-template support or administrator provided pages that can be included in the user's pages. These techniques mean that the administrator or trusted user controls the query.

Thanks Bob, I was afraid that you were going to say that. I'll investigate your suggestion.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

914 views 23 12
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