asp.net 3.5 IIS7中的模拟 [英] Impersonation in asp.net 3.5 IIS7

查看:81
本文介绍了asp.net 3.5 IIS7中的模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft.Office.Interop.Word在ms Word模板中查找书签,并用文本替换书签并编写新文档.如果我使用特定的用户凭据在web.config中提供真实的模拟,则工作正常.现在,我必须从web.config文件中删除此标记.所以我该怎么做?

Hi I am using Microsoft.Office.Interop.Word for find bookmarks in ms word template and replacing bookmark with text and write a new doc. It is working fine if i give impersonation true in web.config with specific user credentials. And now i have to remove this tag from web.config file. so how i can do this ?

推荐答案

下面的文章介绍了如何将用户名/密码传递到
注册表,而不是将它们放在web.config中.
http://support.microsoft.com/default.aspx?scid=kb;zh-我们; 329290 [ ^ ]
This below article explains how you can move the username/pass values to the
registry instead of having them in web.config.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329290[^]


我在此链接上获得了很好的资料.

http://support.microsoft.com/kb/306158 [
I got very good material on this link.

http://support.microsoft.com/kb/306158[^]


这篇关于asp.net 3.5 IIS7中的模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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