Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SQL plugin Space Security

Jo-Anne MacLeod
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2012

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

0 votes
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2012

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.

Jo-Anne MacLeod
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2012

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
TAGS
AUG Leaders

Atlassian Community Events