开发者

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

开发者 https://www.devze.com 2023-04-12 12:34 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
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

精彩评论

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

关注公众号