Assume you create a DB with
Set db = DBEngine.CreateDatabase(DBFullPath, dbLangGeneral)
db.NewPassword "", pstrPassword
Unfortunately, there are tools that can retrieve the DB password, in this case pstrPassword.
This DB is accessed programmatically through another db. I would like to be able to not allow the user to directly open the DB using the password, or if the user opens the DB directly using the password to delete all tables from the DB.
Any code that would achieve the above would need to be automatically inserted during DB creation.
Any ideas?
Set db = DBEngine.CreateDatabase(DBFullPath, dbLangGeneral)
db.NewPassword "", pstrPassword
Unfortunately, there are tools that can retrieve the DB password, in this case pstrPassword.
This DB is accessed programmatically through another db. I would like to be able to not allow the user to directly open the DB using the password, or if the user opens the DB directly using the password to delete all tables from the DB.
Any code that would achieve the above would need to be automatically inserted during DB creation.
Any ideas?