Connecting Tech Pros Worldwide Help | Site Map

Database and VC++

Newbie
 
Join Date: Oct 2007
Posts: 22
#1: Dec 24 '07
Hi,
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
nico5038's Avatar
Moderator
 
Join Date: Nov 2006
Location: The Netherlands
Posts: 2,232
#2: Dec 31 '07

re: Database and VC++


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 :-)

Nic;o)
missinglinq's Avatar
Moderator
 
Join Date: Nov 2006
Location: Richmond, Virginia USA
Posts: 2,994
#3: Dec 31 '07

re: Database and VC++


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)>
Reply