cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting access to remote Database - SQL Anywhere 9.0.2

Former Member
0 Kudos
3,517

I am using SQL Anywhere 9.0.2 version.

Problem: I can access remote DB using dbisql utility by providing HOST as remote system ip address.

I am starting database using dbsrv9.exe utility.

Is there any way to restrict the remote access on this database?

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

VolkerBarth
Contributor

Do you mean you want to run the database server (dbsrv9) instead of the personal engine (dbeng9) but want to allow only local access - i.e. prevent client connections from other machines?

Then this Q&A does exactly answer your question.

Former Member
0 Kudos

Thanks Volker for the reference.

From this, I can assume that dbsrvX.exe doesn't provide any way to restrict remote access(using switch or by any other mean).

VolkerBarth
Contributor

No, that's not my conclusion.

In order to restrict remote access, you can either

  • use dbengX or
  • use dbsrvX with the -x tcpip{localonly=yes} option.
VolkerBarth
Contributor
0 Kudos

AFAIK, a third possibility is to restrict TCP/IP connections altogether by

  • use dbsrvX with the -x none option.

That enables only shared memory connections and won't enable local TDS connections (e.g. jConnect) and may not support all variants of connections between local clients and services/terminal services, cf. the docs.