Solved

unique way to hide username and password in sqloledb connection string

Posted on 2014-03-21
3
382 Views
Last Modified: 2014-03-22
vba excel 2010

dbconnstring = "provider=sqloledb;Server=XXXXXXX.US.XCC.com;Database=Xdb_QA;Uid=xcx111;Pwd=sqlxxxx$;"

In a connection string like this is there a way to hide the uername and password from the user in case they get into the code ?
Thanks
fordraiders
0
Comment
Question by:fordraiders
3 Comments
 
LVL 7

Accepted Solution

by:
COACHMAN99 earned 500 total points
Comment Utility
better to hide/lock the code (via 'vba project properties / protection' tab)
0
 
LVL 39

Expert Comment

by:nutsch
Comment Utility
Agreed with coachman99, or implement integrated security with your database server and setup users individually.
0
 
LVL 3

Author Closing Comment

by:fordraiders
Comment Utility
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now