Linked Questions
16 questions linked to/from How to securely store Connection String details in VBA
1
vote
1
answer
206
views
Securing database passwords in a VBA application from users and QAs [duplicate]
We have a Word VBA application that is installed in over a 1000 computers and users use it on a daily basis. This VBA addin connects to multiple databases whose credentials are stored in a custom xml ...
8
votes
4
answers
4k
views
VBA - Remove Password from OLEDB Connection String
I have an excel file that contains a series of OLEDB connections leveraged by several pivot tables. I would like to create a VBA function that removes all password from that several connection string ...
1
vote
2
answers
14k
views
error 3706 provider cannot be found. it may not be properly installed
All.
I have used a DLL approach explained on How to securely store Connection String details in VBA
This code is running very well on windows 10 64 bit and MS Office 64 bit. But same copy of the ...
3
votes
2
answers
3k
views
How to secure an ADO connection in an Excel VBA project?
I have an Excel spreadsheet (.xlsb) that connects to an SQL Server via ActiveX Data Objects (ADO) in VBA that I have to share with a bunch of people. The code uses the following string to connect do ...
3
votes
2
answers
3k
views
Excel VBA: Secure way to get user's database login/password for connection string?
I have an Excel VBA tool which needs to query Oracle. I am using ADO. When building the connection string, I get the database, username, and password out of cells in the spreadsheet. What is a more ...
2
votes
1
answer
4k
views
Password of connection string in Pass Through Query properties
I am calling oracle stored procedures via Pass Through Query in MS Access.
In pass through query properties we are saving connection string with password. I don't want to allow the user to see the ...
-1
votes
2
answers
4k
views
Run and compile vba script in visual studio
I've been working with macros on VBA for a while, and there's some information on them that I want to hide. As excel is a very unsafe language, I've come with the idea of creating an .exe file of the ...
8
votes
2
answers
1k
views
VBA Password Protection
Is there a way to protect VBA Password protection against a crack such as this one:
Is there a way to crack the password on an Excel VBA Project?
Or this one:
https://superuser.com/questions/807926/...
1
vote
1
answer
2k
views
Secure (hide) Connection String Credentials (detais) in Access Vba
We have several applications in Access/VBA (2013, 64 bits) and the data is stored locally and we want to start saving the data in SQL Server over the network, but connection credentials are visible ...
0
votes
1
answer
2k
views
how to hide connection string from a web query in excel
I need to send reports to clients. The report is generated in excel via web query. The draw back is everyone has access to the excel, can see the connection string, which could be used for ...
0
votes
1
answer
1k
views
Will an ADODB connection be closed when Excel is closed?
I have a question about the ADODB.connection.
I use ADODB connection to connect to Access in my Excel application. Do I need to close the connection manually, or will it be closed automatically when ...
-1
votes
1
answer
463
views
SQL Server Connection String to Excel
I am connecting my Excel 2016 document to my SQL Server to pull data from a table. I can get this to work fine but the issue is with the security. I may be remembering this incorrectly but I thought ...
1
vote
0
answers
451
views
oracle vba trusted connection issue windows 10 64 bit Ms Excel 64bit
Dim con As Object
Dim rs As Object
Dim cmd As Object
Dim query As String
Set con = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set cmd = ...
0
votes
0
answers
432
views
VBA ADODB Connection - SqlConnectionStringBuilder Class
Background
I have an Excel application that connects to SQL Server using ADODB Connection via VBA. This ADODB Connection contains credentials that are hard coded. I know this is not best practice.
...