Forums

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

Is it possible to securely use Jira Cloud API in a deployed desktop application?

Dan Goyette September 16, 2020

I would like to add Jira integration to my C# application. Using the REST api is straightforward enough, and I've done that before in a web application where I controlled the server. However, I would like to do something similar in a desktop application.

What concerns me is that I don't see how I can secure the Jira login credentials in the deployed application. The API supports basic auth, requiring a plaintext username and password, or it supports using an Auth token, but that's also essentially just a plain-text password. I could encrypt those values, and decrypt them at runtime, but an attacker could just as easily decrypt the values.

Is there a recommended approach to supporting API access in a deployed desktop application where you can't trust all users of the application? (That is, this isn't an intra-net application within a single company.) 

1 answer

0 votes
Warren
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.
September 21, 2020

Hi @Dan Goyette 

I guess it depends how secure you're expecting this to be - it is "just Jira" which obviously contains some company confidential info (I'm not meaning to downplay the seriousness of your question)

I use the encryption from the first answer from this which is supposed to be fairly "uncrackable" but a determined hacker could probably get through it. But then a determined hacker could probably get what they wanted another way in any case ;-)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events