w***w 发帖数: 88 | 1 用Web Service,当client调用Server的API的时候,
API自己可以修改Server这边的数据吗?
例如
string ChangeServerData(string ID, string data)
{
// ...
如果数据是保存在SQL的,ID 的数据应该可以被修改。
但是如果这里用file储存的,ID的数据就不能在server被改动?好像会有安全性问
题?
如果数据是用XML储存,在Server的ID的数据可以通过这个API被修改吗?
return "谢谢";
} |
L*********r 发帖数: 92 | 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. |
l*****a 发帖数: 166 | 3 能不能修改取决于server设置和程序。用file和xml需要grant file system
permission, 一般安全漏洞大一些。 |
L*********r 发帖数: 92 | 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, 一般安全漏洞大一些。
|
b****u 发帖数: 1027 | 5 agree with LifeAsWater, file system can be considered a big database system
itself. |