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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:01:15+00:00 2026-05-14T22:01:15+00:00

I have an iPhone app accessing an ASP.NET Webservice for data. Since I’m building

  • 0

I have an iPhone app accessing an ASP.NET Webservice for data. Since I’m building both the ASP.NET end and the iPhone part of the app, and we’ll shortly be publishing it in the Appstore, I’d like to know what security checks I need to make.

The basic flow of the program (without divulging too much info about it) is as follows –

. Login (Enter Username, pass on the app)
. Primary screen where the data is loaded from a webservice and presented
. And post data back after a few updates by the user

I’m using POST to send the data to the Webservice via HTTPS. I’m sanitizing the inputs, checking for length of the inputs, but that’s the limit of my knowledge as far as security
goes. Any other tips are greatly appreciated!

Edit: I should probably add that our service needs to be subscribed to separately and the iPhone component of it cannot be used alone. So the average user will not have login credentials. And the app itself has healthcare data in it, so I’d rather not have anyone trying attacks from my login page.

Thanks,
Teja.

  • 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-14T22:01:16+00:00Added an answer on May 14, 2026 at 10:01 pm

    There are number of things you need to look into. You control both the client and the server side so you have to take a range of mitigations. It seems like you are taking the right approach but you need to focus on the risks/threats and map a mitigation to these.

    Examples:

    1. Authentication is done using a user name and password. What can go wrong here? The main threats appear to be interception of credentials on the wire, or loss of the device (or access to it). These would expose credentials to an attacker. If you use SSL to encrypt the wire traffic then it makes it difficult to sniff these on the network. But if you store the credentials on a device SSL does not protect you here. What you may want to consider are OAuth (delegated authentication) or storing hashed versions of the credentials with some sort of expiry. The OAuth route would be recommended and avoids a user entering and storing the credentials in your application. Instead the device stores a “key” which is independent of their user name and password. They can then log onto a web application and revoke the application. Storing hashed credentials with an expiry is not as secure but might be easier to implement in the short term as OAuth requires server and client changes.
    2. Devices like the iPhone may offer a level of cryptography and protection from local attacks but you should consider encrypting data which is stored by your application. You should also keep the amount of data stored to a minimum. This can be a challenge to implement but you need to manage the trade-offs with your users and management.

    There are some resources out there which you may want to read. Material for Android or other mobile platforms may be useful reading too.

    Securing the ASP.NET Web Services

    Microsoft have published some guidance (and related WCF security) in this area but the focus tends to be on the web services aspect. You need to consider a more comprehensive approach to the security. Since the application is an ASP.NET application like any other, you should look to general ASP.NET security resources like Beginning ASP.NET Security and P&P Security Guidelines: ASP.NET. You might also want to do some more searching on StackOverflow.

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

Sidebar

Related Questions

I have a asp.net website and I am accessing that web service from my
I have an iPhone app which submits user entered data to a SQL database.
I have an iPhone app that must use external cloud db to sync data
I have an iphone app, and I need to capture some data right as
I have an iPhone app that hides the status bar. However, my main view
I have an iPhone app that compiles and runs fine in the Simulator on
I have an iphone app where I call these three functions in appDidFinishLaunching: glMatrixMode(GL_PROJECTION);
I have a simple iphone app that's based on the CrashLanding sample app. So
In my iPhone app, I have put a UIBarBUtton of type UIBarButtonSystemItemTrash in my
I am looking to distribute an open source iPhone app and I have a

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.