Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Self-Destructing Message Android App Adding Users Using Parse.com Creating an Account and App on Parse.com

Isn't it a security risk to hard code secret keys into your source code?

Coming from the web development world, it seems a little crazy to me to be embedding keys into an application that you're handing to the client.

I don't believe it's ever been difficult to reverse-engineer an app and there was a recent article submitted to Hacker News post about a team of researchers that were able to unearth hard-coded private keys from thousands of Android apps.

2 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Bill,

Here is a post on the Parse.com forums that I believe answers your question.

I hope this helps.

Ah, alright so I guess the answer is "There is no best answer" and you just have to be vigilant about security as with all other web applications. Thanks