FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Using Advantage database server with database folder hidden
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Using Advantage database server with database folder hidden
Posted: Fri Aug 11, 2017 11:02 AM

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

Posts: 182
Joined: Tue Oct 18, 2005 10:01 AM
Re: Using Advantage database server with database folder hidden
Posted: Fri Aug 11, 2017 11:35 AM

Hi, please, try with ARC32, ARC have full acess and can exploit bad things.

regards,

Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Using Advantage database server with database folder hidden
Posted: Fri Aug 11, 2017 01:40 PM

Hi,
yes, ARC32 can open file with index without problem from the same workstation.

Taavi.

Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Using Advantage database server with database folder hidden
Posted: Fri Aug 11, 2017 01:56 PM
Under Table Properties, select YES under auto create.

Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Using Advantage database server with database folder hidden
Posted: Mon Aug 14, 2017 10:02 AM

Hi,
I am using free tables (.dbf) not .adt, there is no such properties for dbf tables.

Continue the discussion