Encrypted key fall

kydraxa
Member Posts: 2
The database stores the encrypted table, the work that is carried out by means of certificates and encryption keys. An employee who works with them in the Navision have a certificate with a password.
For security reasons there are two connection from one Navision. One from Navision himself, and other from SQL connection string to the server with odbc, that run from cal code:
Provider = SQLOLEDB.1; Integrated Security = SSPI; Data Source = server name; Initial Catalog = db; Connection Timeout = 240; Application Name = NavKey;
Keys opened with:
OPEN SYMMETRIC KEY key DECRYPTION by CERTIFICATE cert with password = password;
it uses nested key until the third level.
With public key available to any type of encrypted data in the tables of the view to insert and remove through the application. When private keys is null application server returns the data that does not appear in the form of an employee and therefore can not work with them (did not see any corny lines). Level access management studio closed.
And here's the most problem.
With such use application + sql server 2005 all runs smoothly.
With such use application + sql server 2008/2012 encryption keys "fall off."
That is, the server closes them without a team to close them. When it usually closes the main key (the key of the top level).
Connoisseurs server and encryption seek your advice and help on this issue keys. I'll be glad to any advice and idea of how to solve this problem, he has the whole head itself it broke ...
Please excuse the rough language, if that is not clear to explain in detail every question. Thank you.
Maybe problem in Microsoft ActiveX Data Objects 2.8 Library that doesn’t work correct with sql 2008 or 2012.
For security reasons there are two connection from one Navision. One from Navision himself, and other from SQL connection string to the server with odbc, that run from cal code:
Provider = SQLOLEDB.1; Integrated Security = SSPI; Data Source = server name; Initial Catalog = db; Connection Timeout = 240; Application Name = NavKey;
Keys opened with:
OPEN SYMMETRIC KEY key DECRYPTION by CERTIFICATE cert with password = password;
it uses nested key until the third level.
With public key available to any type of encrypted data in the tables of the view to insert and remove through the application. When private keys is null application server returns the data that does not appear in the form of an employee and therefore can not work with them (did not see any corny lines). Level access management studio closed.
And here's the most problem.
With such use application + sql server 2005 all runs smoothly.
With such use application + sql server 2008/2012 encryption keys "fall off."
That is, the server closes them without a team to close them. When it usually closes the main key (the key of the top level).
Connoisseurs server and encryption seek your advice and help on this issue keys. I'll be glad to any advice and idea of how to solve this problem, he has the whole head itself it broke ...
Please excuse the rough language, if that is not clear to explain in detail every question. Thank you.

Maybe problem in Microsoft ActiveX Data Objects 2.8 Library that doesn’t work correct with sql 2008 or 2012.
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions