Solved

C#  CONNECTION TO A REMOTE DATABASE

Posted on 2012-12-29
3
1,122 Views
Last Modified: 2013-01-07
Hi Guys,

I have a Firebird database on our Amazon windows server 2008.

I need to developing a C# client application which needs to communicate with the Firebird database on cloud.

A couple of questions:(This is my first project with C# working with a database)

1.      What are the methods which I can create a connection between the application and the remote database.  (TCP)

2.      How secure are these connection.

Many thanks
Navid
0
Comment
Question by:navidj
3 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 38730836
The recommended way to connect to a firebird database over the internet is to establish a VPN tunnel and then communicate through that.
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 250 total points
ID: 38730911
Hi,

Check this link - http://www.connectionstrings.com/firebird

Regarding security, it depends on the channel you are using! If you are using https, it will be more secure!

Hope it helps u...
0
 
LVL 19

Assisted Solution

by:Manoj Patil
Manoj Patil earned 250 total points
ID: 38750374
Your connection string should be like this

connection.ConnectionString = "User ID=sysdba;Password=masterkey;" +
"Database=\\server\share\database.fdb;DataSource=10.48.14.51;Charset=NONE;";
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now