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

  • Home
  • SEARCH
  • 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 7179985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:15:11+00:00 2026-05-28T17:15:11+00:00

I am developing an iPhone application which logs data in a mySql database. Currently

  • 0

I am developing an iPhone application which logs data in a mySql database. Currently I am using ASIHTTPRequest to POST the data. A php-script then writes the data in a mySql database.

That already working I was wondering how secure it is? The problem I see here is that the php-script is a public file on the server, otherwise I would not be able to access it via the iphone. How can I prevent people from just using this script to add data that was not send by my application? Is it also possible to download the script from my server and retrieve the access information to the database?

I am new to this and hope you can help me.

Thanks in advance

  • 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-05-28T17:15:13+00:00Added an answer on May 28, 2026 at 5:15 pm

    Is it also possible to download the script from my server and retrieve the access information to the database?

    No, as PHP is parsed server-side and only the parsing result is delivered to the client. Therefore your real code cannot be seen by anyone else that does not have access to your server through FTP/SSH.

    That already working I was wondering how secure it is?

    Simply protect the folder your script resides in with a username/password (.htaccess) and connect to it through HTTPS (for encryption) and not just HTTP. That should give you a good level of security to prevent users just calling this script directly without using your App.

    P.S.: I answered to motivate you to improve your Accept Rate, As already mentioned in the comment above, please improve it, otherwise no one will help you here.

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

Sidebar

Related Questions

I am currently developing an iPhone application which loads data from an RSS feed
I am developing an iPhone application in which I am fetching data from a
I am developing an iPhone application in which I am loading lots of data
I am developing an iPhone application that persists data to a SQLite3 database. For
I'm developing an iPhone application which uses a TableView to display XML data. The
I am developing an iPhone application which is completely based on web data. If
I am developing an Iphone application in which i am using GoogleAPI to find
I am developing an iPhone application which plays the video using MPMoviePlayerController . When
I am developing an iPhone application in which I play videos using MPMoviePlayerController .
all iphone developers I am currently developing an iphone application in which I am

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.