Page 1 of 1

Using Advantage database server with database folder hidden

Posted: Fri Aug 11, 2017 11:02 am
by Taavi
Hello,
we have a request from client to hide folder containig dbf files from end users.

I am trying to use Advantage server (granting access rihts to ADS process only) for that and can open dbf files using dbusearea() with UNC path to dbf files but indexes (cdx) will not be opened not with autoopen (as they should by ADS documentation) nor with DBSetIndex() call.
Dbsetindex() returns ADS 7041 error (File not found).

When I enable access for user to data folder ADS works without problem.

Any ideas uhat could be wrong?
Anybody successully using ADS with hidden database folder?

Taavi

Re: Using Advantage database server with database folder hidden

Posted: Fri Aug 11, 2017 11:35 am
by toninhofwi
Hi, please, try with ARC32, ARC have full acess and can exploit bad things.

regards,

Re: Using Advantage database server with database folder hidden

Posted: Fri Aug 11, 2017 1:40 pm
by Taavi
Hi,
yes, ARC32 can open file with index without problem from the same workstation.

Taavi.

Re: Using Advantage database server with database folder hidden

Posted: Fri Aug 11, 2017 1:56 pm
by Giovany Vecchi
Under Table Properties, select YES under auto create.

Image

Re: Using Advantage database server with database folder hidden

Posted: Mon Aug 14, 2017 10:02 am
by Taavi
Hi,
I am using free tables (.dbf) not .adt, there is no such properties for dbf tables.