简体   繁体   English

在Windows中以网站结构打开文件夹

[英]opening folder in web site structure in Windows

I am trying to set up a hyperlink to open a Windows Explorer, so that it can display a folder on the web server that is within the web site. 我试图设置一个超链接来打开Windows资源管理器,以便它可以在该网站内的Web服务器上显示一个文件夹。

So in IIS, we have inetpub/MyWebSite/subFolder/Data/ 因此,在IIS中,我们有inetpub/MyWebSite/subFolder/Data/

I would like to allow for a web page hyper link to open the folder /Data 我想允许网页超链接打开文件夹/Data

I can set up a user account on the web server and only provide access to this folder. 我可以在Web服务器上设置用户帐户,仅提供对此文件夹的访问。 I can use ASP Membeship to restrict access here, and/or assign the Network Service acccount access. 我可以在此处使用ASP Membeship限制访问,和/或分配“ Network Service帐户访问权限。

I don't really care who can see this folder as anything that gets placed in here will only be temporary, and nothing is "Mission Critical" just a file that the web site will read and write to and then it gets deleted. 我并不在乎谁能看到此文件夹,因为放置在此处的任何内容都是临时的,“ Mission Critical”只是网站要读取和写入然后被删除的文件而已。

Any and all ideas and suggestions will be tested. 任何想法和建议都将受到测试。

Thanks for any help. 谢谢你的帮助。

Build a representation of the folder's contents (using a DirectoryReader and CSS) and display that. 建立文件夹内容的表示形式(使用DirectoryReader和CSS)并显示出来。 Don't actually try to display the physical folder. 实际上,不要尝试显示物理文件夹。

this sounds like FTP, and if it's on an intranet, why not create a share? 这听起来像FTP,如果在Intranet上,为什么不创建共享? much less work. 少得多的工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM