保存文件 - 远程服务器 - 模拟 [英] Saving Files - Remote Server - Impersonate

查看:75
本文介绍了保存文件 - 远程服务器 - 模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿嘿,

我在使用集成身份验证编写远程目录(\\server\shared\ctd)文件的网站时遇到问题。我收到消息:"访问路径'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
网站已配置为使用impersonate =" true"。
IIS选项上标记了集成安全性。 (II6 - Win2k3服务器)
我为"Everyone"授予了完全权限。在另一台服务器的目标目录中。
它同时使用FileUpload.SaveAs()和Stream.write()。

你能帮忙吗?

提前Ty,

Waner

Cya,


Waner

Hey you, I've got a problem with an website using integrated authentication writing files in a remote directory ( \\server\shared\ctd ). I'm receiving the message: "Access to the path '\\server\ctd\13594614_E052701.xls' is denied". The site is configurated to use impersonate="true". Integrated security is marked on the IIS Options. (II6 - Win2k3 Server) I gived full permissions for "Everyone" in the targeted directory in the other server. It happens using both FileUpload.SaveAs() and Stream.write(). Could you help? Ty in advance, Waner Cya, Waner

推荐答案

要使用模拟令牌访问网络资源,您需要使用委派。
您需要配置Kerberos并使用户帐户在Active Directory中受信任以进行委派。

在"委托"下解释了一些替代解决方案:http://msdn.microsoft.com/en-us/library/ms998351.aspx
希望这有助于

In order to access a network resource with an impersonation token you need to use delegation.
You need to configure Kerberos and enable the user accounts to be trusted for delegation in Active Directory.

There are some alternative solutions explained under "Delegation":
http://msdn.microsoft.com/en-us/library/ms998351.aspx

Hope this helps


这篇关于保存文件 - 远程服务器 - 模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆