ADS server side alias
Posted: Thu Jul 03, 2008 4:56 am
Hi guys!
Just sharing this amazing discovery with ADS 8.1
Normally, when we do adsconnect60(), we put this on our ads.ini
...
[remoteserver]
INTERNET_IP = <your public ip here>
INTERNET_PORT = 2001
LAN_IP = 192.168.0.1
LAN_PORT = 2002
[Databases]
SERVER = \\remoteserver\DD\database.add;D
...
notice the 'DD' in "\\remoteserver\DD\database.add;D", it's NOT EVEN SHARED nor exist in the server side....
Using ADS 'Server-side aliases', define this to the server side...
file: "AdsServer.ini" put the file to ads 'error log' path which is configured with your ADS server 8.1 or higher ( normaly on C: )
content of "AdsServer.ini" is
[ServerAliases]
DD=D:\AdsDictionary
DB=D:\App1\Tables
the "DB" is the path where you put the tables defined in your database.ADD.... this is to avoid ADS error#8026 "Error obtaining server drive information from server and share names". I dont like the solution posted by ADS wherein my tables are at risk for exposure...
The above is based on actual experienced... if may vary from different condition.
I think it's worth sharing.... Yesterday (July/2/2008) I can't find any info regarding my problem so this maybe useful with others using ADS over internet.
This is total security... there's no way any client can find your tables on the remote side. Applicable and tested.
Regards,
Just sharing this amazing discovery with ADS 8.1
Normally, when we do adsconnect60(), we put this on our ads.ini
...
[remoteserver]
INTERNET_IP = <your public ip here>
INTERNET_PORT = 2001
LAN_IP = 192.168.0.1
LAN_PORT = 2002
[Databases]
SERVER = \\remoteserver\DD\database.add;D
...
notice the 'DD' in "\\remoteserver\DD\database.add;D", it's NOT EVEN SHARED nor exist in the server side....
Using ADS 'Server-side aliases', define this to the server side...
file: "AdsServer.ini" put the file to ads 'error log' path which is configured with your ADS server 8.1 or higher ( normaly on C: )
content of "AdsServer.ini" is
[ServerAliases]
DD=D:\AdsDictionary
DB=D:\App1\Tables
the "DB" is the path where you put the tables defined in your database.ADD.... this is to avoid ADS error#8026 "Error obtaining server drive information from server and share names". I dont like the solution posted by ADS wherein my tables are at risk for exposure...
The above is based on actual experienced... if may vary from different condition.
I think it's worth sharing.... Yesterday (July/2/2008) I can't find any info regarding my problem so this maybe useful with others using ADS over internet.
This is total security... there's no way any client can find your tables on the remote side. Applicable and tested.
Regards,