Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 811299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:01:23+00:00 2026-05-15T01:01:23+00:00

How can I secure the communication between a C# program running locally on my

  • 0

How can I secure the communication between a C# program running locally on my computer and a SQL Server in a hosted environment?

I have an asp.net application that is secured by SSL encryption. So using the asp.net from an open wlan connection is no problem.

How can I achieve the same kind of encryption for my administrative tool? Would it be best to write a service? But how would that connection to the service be secured?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:01:24+00:00Added an answer on May 15, 2026 at 1:01 am

    You should be able to simply specify encryption in the connection string like so:

    Provider=SQLNCLI10.1;Integrated Security=SSPI;Persist Security Info=False
    ;Initial Catalog="Foo";Data Source=(local);Use Encryption for Data=True;
    

    This connection string uses the Native Client and a trusted connection but obviously can be adjusted for a SQL username and password.

    For more, see the “Enable encryption for a specific client” section of this KB article. You have to ensure that the client has the server’s certificate in its Trusted Root Certification Authorities folder. Here is another article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a custom built program that needs authenticated/encrypted communication between a client and
We have a couple of WCF services hosted in an asp.net application on IIS.
On the Internet, if you need fast, secure server-to-server communication, and you can specify
I have a (client/server communication) setup right now like so: 1) Client asks user
I have 2 devices and I want to set up a secure communication channel
Till now I haven't really studied secure communication and I have some basic questions.
Scenario: I have a ASP.Net / Silverlight website with webservices for supporting the Silverlight
I need to implement tcp socket communication between server and iOS client. I am
In my application, we need to have socket communication with the server, and through
I have a .NET application and a .NET Windows Service . How can I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.