Using Advantage database server with database folder hidden

Using Advantage database server with database folder hidden

Postby Taavi » 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
Taavi
 
Posts: 89
Joined: Mon Nov 21, 2005 10:29 am

Re: Using Advantage database server with database folder hidden

Postby toninhofwi » Fri Aug 11, 2017 11:35 am

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

regards,
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Using Advantage database server with database folder hidden

Postby Taavi » Fri Aug 11, 2017 1:40 pm

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

Taavi.
Taavi
 
Posts: 89
Joined: Mon Nov 21, 2005 10:29 am

Re: Using Advantage database server with database folder hidden

Postby Giovany Vecchi » Fri Aug 11, 2017 1:56 pm

Under Table Properties, select YES under auto create.

Image
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Using Advantage database server with database folder hidden

Postby Taavi » Mon Aug 14, 2017 10:02 am

Hi,
I am using free tables (.dbf) not .adt, there is no such properties for dbf tables.
Taavi
 
Posts: 89
Joined: Mon Nov 21, 2005 10:29 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 107 guests