开发者

VB.Net program that stores data to a webserver [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I wanted to used standard TCP/IP connection using MYSQLconnection. Is t开发者_开发知识库his the best way?


Whether or not this is the best way depends on your environment. For many cases, this would not be the correct way to go about things, because the person running the client program would have direct access to your database. You would also be required to open your firewall to allow anybody running your application to have access to the database. Not only security problems, but if you wanted to change the queries being run to perform a particular action, then you would have to ensure that everyone updated their client program. An alternative way of doing something like this that may work better, would be to create a web server (XML, SOAP, JSON, etc.) that your VB.Net program called to complete various actions. That way the VB.Net program would not have to connect to the database directly, which would allow both for increased security, as well as allow you to change things on the server side such as table structure without the VB.Net program being aware.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜