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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:10:09+00:00 2026-06-02T19:10:09+00:00

I am an iOS developer & developed a web services app which has been

  • 0

I am an iOS developer & developed a web services app which has been live on App Store for a year. Now I decided to make this app available cross-platform – beginning with Android, for which I hired an Android Developer.

Until this hire, all the web related code & data (PHP / MySQL / XML) was managed & fetched by me alone – so I did not worry much about the security. But now, with addition of another developer I have following concern:

The app sends POST request which includes how many rows to fetch – then a PHP script gets that many rows from MySQL & returns them in a well formatted XML. My concern is that now the employee will also know about the whole process & although he will not have direct access to PHP scripts OR MySQL database, he can still misuse it in a number of ways. For example, he can create a URL on web browser with a POST request for 100000 rows even – which will let him have all the data in an XML.

What measures should be taken to counter this? (Yes, I can force a hard limit of 40 in above particular case, but it is not an ideal or generalized solution.)

BTW, I did an extensive google research on this topic & to my understanding, the above problem is known as “Semantic URL attack”. But I was not able to figure out the right solution for it. Using “Sessions” is suggested, but according to my understanding “Sessions” is only helpful if we have password based user authentication – which is not the feature of my app.

Any help would be highly appreciated.

  • 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-02T19:10:11+00:00Added an answer on June 2, 2026 at 7:10 pm

    First you must be aware that if you have no protection and allow just anything, people will be able to do anything, as simple as that. So as I understand, you don’t want to use the standard protections: i.e. users having login credentials, and using per-case defensive programming.

    Okay, then one partial solution would be to compute a hash:

    • you want to query the server with the parameters P
    • you compute H=hash(P)
    • you send ?p=P&h=H to the server
    • your server receives ?p=P&h=H and computes H’=hash(P)
    • if H’ != H, then the server denies an answer

    You would have to compute the same deterministic hash function in php and in your mobile app, preferably a very complex one, mixing your own dark encrypting algorithms with md5, sha1, synchronized threads, etc.

    If you worry about the attacker to repeat an old query with the right hash, you can make a more complex handshake: first send to the client a random number, which will be a part of the hash to compute. Or something based on the datetime, the ip, or whatever.

    Of course if the attacker reverse engineers your code, he can find out the hash function, but it would take him some work at least. You can obfuscate your client’s code if you want to make his job harder.

    As a testimony, I have used this sort of technique against lame attackers on services which didn’t require a registration. Unless the attacker is a pro and badly wants your private data, it works.

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

Sidebar

Related Questions

I have enrolled in the iOS developer's program. I've developed an app which I
i am developed an ios app and its released on the market. now I
I've been developing iOS & Android apps for some time now. When planning a
I am an iOS developer who should make an app to play video with
I am working as iOS freelance developer for one non-IT company and now my
Reviewing the iOS Developer Downloads & ADC Program Assets , I think it's Xcode
Short introduction Working on my first commercial iOS app, XCode 3.2 has proven to
I have a basic web app in place: it has a registration page, a
http://developer.apple.com/library/ios/#samplecode/Touches/Introduction/Intro.html I'm new to IOS development, and have been playing around with the IOS
Currently I'm working on enhancing a project that has been developed by an external

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.