Solved

MS Access and SQL Server SSL Encryption

Posted on 2014-10-09
7
924 Views
Last Modified: 2014-10-15
How can I implement 256 bit secure SSL connection from MS Access to a remote SQL Server.  The remote server does not enforce all connections to be secure.
0
Comment
Question by:Bill Ross
[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
  • 4
  • 3
7 Comments
 
LVL 58
ID: 40372625
Bill,

 You'll need encrypt=true in the connection string and be using the Native SQL client on the machine.

Does the server already have a certificate (sounds like that is all setup)?  If not, you'll want to run through this:

http://support.microsoft.com/kb/316898

Also, depending on the version of SQL and the certificate subject, you may have to setup an alias for the server to use in the connection string for server=

Certificates often use fully qualified domain names for a server, where as in a connection string, you generally use a short name.

Jim.
0
 
LVL 14

Author Comment

by:Bill Ross
ID: 40372712
Hi Jim,

The server is not configured for SSL and the MS Access client is one of many various users.  Is it possible to configure just the Access  client side so that the connection from the local client to the server is SSL?  I'm not sure I can change the server as there are many clients and many databases.

Thanks!

Bill
0
 
LVL 58
ID: 40372743
Bill,

<<Is it possible to configure just the Access  client side so that the connection from the local client to the server is SSL?  >>

  No.  There are a number of steps that need to be done on the server to set it up.   SSL requires a certificate to be installed on the server, that cert tied to SQL, and also installed client side.

Jim.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 14

Author Comment

by:Bill Ross
ID: 40372779
Hi Jim,

OK.  If I can get the server configured do all clients and all databases need to use SSL or can just the Access client use SSL?  Does 128 or 256 bit security make any difference?

Thanks,

Bill
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40372791
<<f I can get the server configured do all clients and all databases need to use SSL or can just the Access client use SSL?  >>

 You can configure it either way.   On SQL Server, you set it that either all connections are forced or not.   If not, and a client requests a SSL connection, it will still take it.   It would apply to all databases as it's the actual connection between server and client.

<<Does 128 or 256 bit security make any difference?>>

  longer bits are harder to crack, but unless I'm mistaken, SQL only supports 128 at this point (In fact I think as a whole, SSL is still 128 for most things).

  2012 might support 256, I'd have to check as I haven't used it for anything yet.

Jim.
0
 
LVL 14

Author Comment

by:Bill Ross
ID: 40383183
Hi Jim,

Actually, SQL 2008 R2 and later support 256-bit SSL.  Thank you for the help!

Bill
0
 
LVL 14

Author Closing Comment

by:Bill Ross
ID: 40383184
Thanks!  You got me on the right track.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 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