Solved

iOS App - Database connection

Posted on 2014-02-11
1
470 Views
Last Modified: 2014-02-11
I have a hosted database server, and a ASP.net app that connects to it.

How do I connect to the same DB using an IOS app? I need to obtain login credentials and perform a few inserts and updates on a few tables.
0
Comment
Question by:proginc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
Surendra Nath earned 500 total points
ID: 39851541
in the iOS end, I suggest you to create a web-api from asp.net and expose it to the iOS, instead of the mobile user trying to connect to SQL directly.

from iOS pass on the credentials to the web-api, and in the web-api (in your server), connect to SQL using the SQL Authenticaiton instead of the windows authentication, once you validated that the user using your api is a valid user.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using this function 4 54
Send Email from iOS Swift 3 2 39
Importing from CSV to SSMS 2 15
Error converting data type varchar to numeric. 4 14
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question