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
Solved

C#  CONNECTION TO A REMOTE DATABASE

Posted on 2012-12-29
3
1,134 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
rest webservice call over https via c# 6 49
Best resource to learn entity framework 2 47
FTP file download using c# 3 25
Create a WebAPI using a generic return parameter 9 30
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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