Redian新闻
>
用Web Service,当client调用Server的API的时候,
avatar
用Web Service,当client调用Server的API的时候,# DotNet - 窗口里的风景
w*w
1
用Web Service,当client调用Server的API的时候,
API自己可以修改Server这边的数据吗?
例如
string ChangeServerData(string ID, string data)
{
// ...
如果数据是保存在SQL的,ID 的数据应该可以被修改。
但是如果这里用file储存的,ID的数据就不能在server被改动?好像会有安全性问
题?
如果数据是用XML储存,在Server的ID的数据可以通过这个API被修改吗?
return "谢谢";
}
avatar
L*r
2
For web service, when client call a service API, the call is invoked against
of the proxy of the server API. The business logic of the API is executed
in the context of remote server.
avatar
l*a
3
能不能修改取决于server设置和程序。用file和xml需要grant file system
permission, 一般安全漏洞大一些。
avatar
L*r
4
you are right on that it depends on the ws-security and server configuration.
but it is same between database and file in view of security. it is not
safer to using database than using file.

【在 l*****a 的大作中提到】
: 能不能修改取决于server设置和程序。用file和xml需要grant file system
: permission, 一般安全漏洞大一些。

avatar
b*u
5
agree with LifeAsWater, file system can be considered a big database system
itself.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。