请稍候...
  • DicomPrintScp胶片打印服务
  • 泰融系列超声工作站
  • 泰融系列内镜工作站

新闻摘要:ASP.Net在IIS中使用UNC虚拟目录的配置方法

用实际案例说明配置过程:
远程共享机器B:IP=192.168.1.11,已设置共享目录:cyh

Web服务器:A机,需要添加ASP.Net应用程序的虚拟目录 cyh,指向 \\192.168.1.11\cyh


操作流程实例:
1、B机器先设置共享目录 cyh,添加一个用户例如:pjcyh,设置为密码永不过期,普通用户即可,权限限制在 cyh 目录,并对其拥有完全访问权限。
2、转到服务器A机,同样建立一个与B机相同账号和密码的用户,即用户 pjcyh。
3、A机启动IIS管理,添加虚拟目录,选择“另一台计算机上的共享”,输入 \\192.168.1.11\cyh,采用 pjcyh 用户作为连接认证。
至此第一步完成,已经可以访问 http://xxx.xxx.xx/cyh 下的资源,但是 ASP.Net 还没有权限。
4、A机应用程序下的编辑 web.config,在 <SYSTEM.WEB>节下添加 <IDENTITY impersonate="true" userName="pjcyh" password="*****" />
5、A机的目录:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files(根据实际情况寻找类似目录),赋予用户 pjcyh 读写权限。
重新启动IIS后,Asp.Net就拥有对 \\192.168.1.11\cyh 的读写权限了。
6、安全加强,到微软下载工具 aspnet_setreg.exe。
7、在A机运行:aspnet_setreg.exe -k:Software\Passport\pjcyh -u:"pjcyh" -p:"实际密码"
其中路径 Passport \ pjcyh 根据你的喜好来确定。然后 identity  变更为:
<IDENTITY impersonate="true" userName="registry:HKLM\Software\Passport\pjcyh\ASPNET_SETREG,userName" password="registry:HKLM\Software\Passport\pjcyh\ASPNET_SETREG,password" />
8、在A机运行 regedit32,导航到 HKLM\Software\Passport\pjcyh\ASPNET_SETREG,对 ASPNET_SETREG 右键设置权限,对于win2003系统需要添加用户 IIS_WPG ,赋予读权限。
至此全部工作完成。
【责任编辑:phoenix(Top) 返回页面顶端
昵称: email: 主页: 验证码:

  昵称:游客 хоррор порно IP:79.137.*.*. 2023-08-03 19:10:06发表  
  Simply want to say your article is as astounding. The clearness on your publish is just great and i could suppose you are a professional on this subject. Well together with your permission let me to grab your feed to keep up to date with impending post. Thanks a million and please carry on the enjoyable work.
邮件回复  
  昵称:游客 web tukang tipu IP:74.82.*.*. 2023-07-29 12:56:21发表  
  Excellent site. Lots of useful info here. I am sending it to some pals ans additionally sharing in delicious. And obviously, thanks for your sweat!
邮件回复  
  昵称:游客 The Journal IP:182.253.*.*. 2023-07-29 12:56:16发表  
  Wow that was unusual. I just wrote an extremely long comment but after I clicked submit my comment didn't show up. Grrrr... well I'm not writing all that over again. Anyways, just wanted to say fantastic blog! Related Article: https://absen.unisla.ac.id https://akses.unisla.ac.id https://akuntansi.unisla.ac.id https://animalsciencejournal.unisla.ac.id https://app.unisla.ac.id https://apt.unisla.ac.id https://baukk.unisla.ac.id https://beasiswa.unisla.ac.id https://berita.unisla.ac.id https://bidan.unisla.ac.id https://biro.unisla.ac.id https://bpi.unisla.ac.id https://cek.unisla.ac.id https://conference.unisla.ac.id https://dedikasikita.unisla.ac.id https://dosen.unisla.ac.id https://ejournal.unisla.ac.id https://elearning.unisla.ac.id https://elektro.unisla.ac.id https://email.unisla.ac.id https://es.unisla.ac.id https://fai.unisla.ac.id https://faperik.unisla.ac.id https://fapet.unisla.ac.id https://fe.unisla.ac.id https://fh.unisla.ac.id https://fikes.unisla.ac.id https://fkip.unisla.ac.id https://ft.unisla.ac.id https://grouper.unisla.ac.id https://icofie.unisla.ac.id https://ikafe.unisla.ac.id https://jes.unisla.ac.id https://journalfai.unisla.ac.id https://jti.unisla.ac.id https://jurnalekonomi.unisla.ac.id https://jurnalhukum.unisla.ac.id https://jurnalkesehatan.unisla.ac.id https://jurnalpasca.unisla.ac.id https://jurnalpendidikan.unisla.ac.id https://jurnalpeternakan.unisla.ac.id https://jurnalteknik.unisla.ac.id https://kemahasiswaan.unisla.ac.id https://kenaliternakmu.fapet.unisla.ac.id https://kkn.unisla.ac.id https://kuliah.unisla.ac.id https://labekonomi.unisla.ac.id https://lapak.unisla.ac.id https://lapor.unisla.ac.id https://lib.unisla.ac.id https://libft.unisla.ac.id https://library.unisla.ac.id https://link.unisla.ac.id https://litbangpemas.unisla.ac.id https://lpd.unisla.ac.id https://lpm.unisla.ac.id https://lsp.unisla.ac.id https://manajemen.unisla.ac.id https://pai.unisla.ac.id https://pasca.unisla.ac.id https://pbi.unisla.ac.id https://peduli.unisla.ac.id https://pemas.unisla.ac.id https://pendidikanipa.unisla.ac.id https://pendidikanmatematika.unisla.ac.id https://pgmi.unisla.ac.id https://piaud.unisla.ac.id https://pib.unisla.ac.id https://pjm.unisla.ac.id https://pkkmb.unisla.ac.id https://ponpesma.unisla.ac.id https://pusatkarir.unisla.ac.id https://repository.unisla.ac.id https://sarpras.unisla.ac.id https://semnas.unisla.ac.id https://semnas2022.unisla.ac.id https://setiadi.unisla.ac.id https://sia.unisla.ac.id https://sidak.unisla.ac.id https://sima.unisla.ac.id https://simlitabmas.unisla.ac.id https://simortu.unisla.ac.id https://sipil.unisla.ac.id https://skripsi.unisla.ac.id https://surat.unisla.ac.id https://teams.unisla.ac.id https://teknik.unisla.ac.id https://tes.unisla.ac.id https://ti.unisla.ac.id https://tracer.unisla.ac.id https://ukm.unisla.ac.id https://unisla.ac.id
邮件回复  
  昵称:游客 golden goose superstar IP:110.89.*.*. 2023-07-25 07:12:42发表  
  very good submit, i definitely love this website, carry on it
邮件回复  
  昵称:游客 goyard IP:27.153.*.*. 2023-06-20 20:28:23发表  
  I precisely had to thank you very much once more. I'm not certain what I might have followed in the absence of the actual recommendations shared by you regarding such a problem. It was before a very scary difficulty for me personally, but observing the very specialized technique you resolved it made me to jump over happiness. Extremely happier for your help and then wish you know what a great job you have been getting into training others by way of your web page. I know that you've never got to know any of us.
邮件回复  
  昵称:游客 golden goose IP:27.153.*.*. 2023-06-10 13:58:29发表  
  I in addition to my guys were found to be looking through the nice strategies from your web site and suddenly I got a horrible feeling I never thanked the site owner for those strategies. These young boys had been excited to read through them and now have surely been loving those things. Appreciate your really being considerably kind as well as for picking such terrific themes most people are really desperate to know about. My honest regret for not saying thanks to sooner.
邮件回复  
1/11页 共64条 首页 下一页 尾页 跳转至