Solved

C#  CONNECTION TO A REMOTE DATABASE

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
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 this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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