Solved

C#  CONNECTION TO A REMOTE DATABASE

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need to convert function to c# 5 57
Set custom font WPF 2 27
Using the .NET JSON Serializer to create a single string 6 59
How do you think this website does searches? 5 36
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

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