Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8379517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:12:39+00:00 2026-06-09T16:12:39+00:00

Is it possible? I want my application to use Facebook authentication, but for that

  • 0

Is it possible? I want my application to use Facebook authentication, but for that I need an app secret. From what I read, the best way available for keeping it secured is to use SharedPreferences, but how can I put it there before using it? If I include it in the source code, it might be discovered by decompilation, so is there a way to put it in the APK and make it be written to SharedPreferences during installation? (I suppose the APK can also be hacked, but it may be harder, I really don’t know…)
Thanks for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:12:41+00:00Added an answer on June 9, 2026 at 4:12 pm

    As far as I know, Android obfuscates your code using ProGuard. This will not be secured enough if someone is REALLY looking for the secret key.

    You can make their job harder by encrypting your key inside another key. However, this is as secure as you could get to.

    Regarding the security of the SharedPreference class, There is a secure implementation of it. ObscuredSharedPreferences is a custom SharePreference class that supports encryption but it still not secure 100%

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to do this web application I am creating in the best possible
Possible Duplicate: Hide Command Window in C# Application in the console app, I want
I want to stream a video from Facebook to my site and use my
I can authenticate Facebook for desktop application using web browser control. But I want
I have created an iframe facebook application. I want to use the facebook's comments
I want to develop a simple java based application that can connect to facebook
I'm building a Facebook application and I want it to be able to read
My application use Storage, but for testing I want to substitute it with mock
Possible Duplicate: Restore a minimized window of another application I want to restore (show
I want to ask wether it's possible to develop a J2ME application for Nokia

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.