Programming Practices – How Desktop Applications Communicated with Remote Servers Before Web Services

programming practicesSecurity

I don't have lot of expierence with desktop applications, but if I had to create a client server desktop app, the data access would be done through a webservice. I believe data access through a webservice provides security – I don't need to pass in the db server user name and password etc.

Before webservices, how did database applications do this? Was all the important db information passed into the installlation of the desktop app? If so how did programmers manage the security aspect? Or did programmers use something similar to webservices?

Best Answer

Depending on what you call a web service.

Before WSDL and REST, there was still HTTP, so basically everything you can do now could be done before as well.

There was a lack of uniformity (which is why WSDL and REST were created in the first place), but it provided the same level of data confidentiality and security you are talking about.

You can actually avoid using HTTP as well: you can draft your own protocol, and use a custom server and custom clients which would open a socket to this server and get the data they need (or post the data). Here, you lose all the standardization benefit of HTTP, but once again, you don't give access to the database to the clients.

Related Topic