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 8817179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:46:58+00:00 2026-06-14T04:46:58+00:00

Let’s say I’m building an iOS application which needs to load some static JSON

  • 0

Let’s say I’m building an iOS application which needs to load some static JSON data updated now and then. Creating this JSON data requires a lot of effort, and the bandwidth also isn’t free.

I want to prevent other apps from piggybacking on my server and using my data.

I have tried encrypted zip files before, and it’s quite a hassle.

What are the best practices?

I realize there is no way to be 100% secure.

  • 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-14T04:46:59+00:00Added an answer on June 14, 2026 at 4:46 am

    Encrypting the files is the best way. If security isn’t that important, put a magic value in the http requests, either in the URL or, better yet, in the header. For example, compute the hash of the date (at gmt), put it in the request headers, and have the server check it. It’s not really secure, won’t work on devices whose clocks are off, and you’ll probable want to accept yesterday, today, and tomorrow values for clocks that are slightly off, but it will stop casual downloading of your files.

    Alternatively, you could implement a challenge-response system where the device makes a server request and the server returns one of 100 values. The client then does something special with that value (doubles it, hashes it with some salt, uses it in a table lookup, etc) and uses the result in the next server request.

    The simplest/stupidest way is to just put a fixed magic value in the http header. It won’t stop a hacker for more than 10 minutes, but will stop some endusers using curl or wget to download your data.

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

Sidebar

Related Questions

Let's say I'm building a data access layer for an application. Typically I have
Let's say I have some data in a CouchDB database. The overall size is
Let's say I'm writing a Windows Forms (.NET Framework 3.5) application which shows the
Let's say I have a method in java, which looks up a user in
Let's say I'm making a tool to help epicureans keep track of which delicacies
Let's say I have some text as follows: do this, do that, then this,
Let's say I have a main folder in my website named test which contains
Let's say I have an facebook application running using the JS SDK. First user
Let's say there is a graph and some set of functions like: create-node ::
Let's say you have a class called Customer, which contains the following fields: UserName

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.