It is a bad design to connect to databases from the client side, as it is prone to disasters. The right approach is to connect to a thin layer between the two , like a webservice for instance, that allows a transparent yet secured access to databases for applications.
It does not matter if it is Sybase, or some other databases. all applications should follow this as a thumb rule. Moreover, real-life application databases are not open to be accessed from many boxes. They typically have a single TCP port open which allows access from a couple of load balancers/ webservers.