I'm attempting to put a CompactDatabase routine in my app, but am experiencing some issues with the permissions necessary to run the CompactDatabase method. After trying many different permissions, the only time I was able perfom the compact successfully was if the Userid I specified was either (a) the Owner of the source database or (b) belongs to the Admins group. All the other userid/groups that didn't work had the same permissions assigned.
For example...
The owner userid is assigned to 3 groups, none of which was Admins, and this worked.
A userid assigned to only Admins and Users worked.
A userid assigned to all three groups that the owner was assigned to didn't work.
Since I want to embedd this id and password in the application, I don't want to expose the owner userid or a userid with Admins permissions to potential cracking from within the application. I would really like to create and ID/Group that will only perform the Compact and nothing more.
Any suggestions and/or insight?
TIA
Capgard
For example...
The owner userid is assigned to 3 groups, none of which was Admins, and this worked.
A userid assigned to only Admins and Users worked.
A userid assigned to all three groups that the owner was assigned to didn't work.
Since I want to embedd this id and password in the application, I don't want to expose the owner userid or a userid with Admins permissions to potential cracking from within the application. I would really like to create and ID/Group that will only perform the Compact and nothing more.
Any suggestions and/or insight?
TIA
Capgard