在网络上运行虚拟文件夹与其他用户共享 [英] Running Virtual Folder on Network Share with a different user

查看:109
本文介绍了在网络上运行虚拟文件夹与其他用户共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在一家开发商需要在网络上工作的商店

股票。这样每晚都会备份代码和其他文档。这超出了我们也用于代码控制的Visual SourceSafe领域。网络驱动器用作工作文件夹。这是这个商店已经使用了6年的配置,我不认为它会很快改变


所以我正在测试运行带有Clas的ASP.NET Web应用程序

汇总所有共享驱动器


我的解决方案完美无缺。但是,我已经遇到了

打嗝。为了将IIS Virtual Dir映射到网络驱动器,您需要使用
来指定用户名/密码。当我使用用户名/密码o

登录到XP的虚拟文件夹时,我可以调试m / /
ASP.NET应用程序没有问题。但是,如果我将虚拟文件夹作为另一个ACL设置为
connect,那么我在调试时会出现错误:Acces

拒绝。如果我退出XP然后以虚拟Folde

用户身份返回,我可以调试ASP.NET应用程序


这是我的配置

开发人员工作站:X

文件服务器:Windows 200

CAS上的CAS完全信任Windows 200


两个用户:A&

域用户

两台机器上的管理员


XP上的IIS / ASP.NET运行作为A(通过processModel machine.config

模拟已关闭


虚拟文件夹''连接为''A或B(理想情况下为B

- 使用\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\来自IIS MMC的



回顾

1) - 登录XP =

- processModel =

- 虚拟文件夹=

A可以调试ASP.NET应用程序


2) - 登录到XP =

- 过程Model =

- 虚拟文件夹=

B可以调试ASP.NET应用程序


3) - 登录到XP =

- processModel =

- 虚拟文件夹=

无法调试ASP.NET应用程序:访问Denie


4) - 登录到XP =

- processModel =

- 虚拟文件夹=

B无法调试ASP.NET应用程序:访问Denie


我们希望将虚拟文件夹连接为B的原因是因为

将是一个通用的用户名/密码,可以特殊访问Fil

服务器。 A将是任何开发者ACL


这是为了防止与几个100开发人员进行管理

每次更改1000个本地虚拟文件夹的密码

更改

Hi

I am in a shop where developers are required to work off of a networ
share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe which we also use for code control. The network drive is used as the working folder. This is a configuration this shop has used for 6 years and I do not see it changing any time soon

So I am testing running an ASP.NET Web application with a Clas
assembly all on a shared drive

I have the solution working perfectly. However, I have run into
hiccup. In order to map IIS Virtual Dir to a network drive, you nee
to specify a username/password. When I use the username/password o
the person logged into XP for the Virtual Folder, then I can debug m
ASP.NET app with no problems. However, if I set the Virtual Folder t
connect as another ACL, then I get an error when debugging: Acces
Denied. If I log out of XP and then back in as that Virtual Folde
user, I can debug the ASP.NET application

Here is my configuration
Developer Workstation: X
File Server: Windows 200
CAS on XP has Full Trust of Windows 200

Two users: A &
Domain User
Administrators on both machines

IIS/ASP.NET on XP runs as A (through processModel machine.config
Impersonation is off

Virtual Folder ''Connects As'' either A or B (ideally B
- using \\server\share. I tried mapping the drive and then using th
drive name but I receive ''The system cannot find the path specified
from IIS MMC

To Recap
1) - Logged into XP =
- processModel =
- Virtual Folder =
A can debug ASP.NET application

2) - Logged into XP =
- processModel =
- Virtual Folder =
B can debug ASP.NET application

3) - Logged into XP =
- processModel =
- Virtual Folder =
A CANNOT debug ASP.NET application: Access Denie

4) - Logged into XP =
- processModel =
- Virtual Folder =
B CANNOT debug ASP.NET application: Access Denie

The reason we want to have Virtual Folder connect as B is because
will be a generic username/password with special access to the Fil
Server. A will be any of the developer ACLs

This is to prevent administration with a couple 100 developer
changing 1000s of local virtual folders each time their password
change

推荐答案

您好,


关于您的描述,我也在myside上进行了一些测试。我用一个域帐户来获得
,该帐户在两台机器上都有足够的私人空间。在IIS的虚拟目录中,UNC文件夹'的连接为帐户

设置为

1.强大的域帐户

2.管理员帐户(也在调试用户组中)并映射到

两台机器上。


之后,我们尝试调试机器,#1运行良好,

#2出现了拒绝访问错误。


目前我会咨询其他一些专家一旦我得到任何进一步的信息,我会立即更新

你。谢谢。


问候,


Steven Cheng

微软在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)


在ASP.NET上获取预览whidbey
< a rel =nofollowhref =http://msdn.microsoft.com/asp.net/whidbey/default.aspxtarget =_ blank> http://msdn.microsoft.com/asp.net/whidbey /default.aspx

Hi,

Regarding on your description, I''ve also performed some tests on myside. I
loged with a domain account which has sufficient priviliges on both
machine. and in the IIS''s virtual dir, the UNC folder''s connect as account
is set as
1. The powerful domain account
2. An Administrator account(also in debug user group) and has mapped on
both machine.

After that, we I try debug on the machine, the #1 work well and
the #2 occur Access Denied error as you mentioned.

Currently I''ll consult some further experts on this issue and will update
you as soon as I got any further infos. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


您好,


史蒂文的建议对此有何帮助问题?如果您需要更多信息,请随时告诉我们。


卢克

Hello,

Did Steven''s suggestion help on this issue? If you need more information,
please feel free to let us know.

Luke

我读线程的方式是,史蒂文能够重现我遇到的同样的错误,并且他将要咨询更多的专家。所以我的理解是即将回答的问题。
The way I read the thread is that Steven was able to reproduce the same error that I was encountering and that he was going to consult further experts. So my understanding is an answer is forthcoming.


这篇关于在网络上运行虚拟文件夹与其他用户共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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