By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,122 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,122 IT Pros & Developers. It's quick & easy.

Database and VC++

P: 22
This is a doubt.
My friend said me that we can protect our database using vc++.Is it true?
I have no idea about that.Please help me
Dec 24 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 2.5K+
P: 3,072
Not really, protection of a database can be done partially by using code but you'll always be able to access a database by other tools, thus alowing changes "from outside".
Best to have a good userid/password policy for a database and not use Access :-)

Dec 31 '07 #2

Expert 2.5K+
P: 3,532
If memory serves me, C++ is a compiled language, which, like Visual Basic, produces an .exe file! .Exe files, of course, prevent users from seeing "behind the scene" as it were, which does impart a certain degree of security. If you use C++ as your front-end, with Access as your back-end, there would be no way for end users to know the name/location of the back-end Access file. In fact, they would have no way to even know that Access was involved!

Having said that, I've never heard of C++ being used as a front-end for an Access database, but I suppose it could be done! I would, however, suspect that you would need someone very experienced in C++ development.

A more useful approach, I suspect, would be to convert your MDB file into an MDE file. Of course, as Nico has suggested, any security that man has invented man can circumvent! Like most security, it's all a matter who you're trying to keep out; what their skill level is and how dedicated they are to breaching your security!

Welcome to TheScripts!

Linq ;0)>
Dec 31 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.