Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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