473,498 Members | 1,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing remote network share through ASP.Net

Hello,

I am building a web application with the following components:
2 Web Servers
- Windows Server 2003
- IIS 6
- .Net Framework version 2.0
- Reside in Domain A

2 Clustered Database Servers
- Windows Server 2003
- SQL Server 2000
- Reside in Domain B

I am also setting up a share on the a separately partitioned drive on
the database server cluster to act as a central repository for storing
and retrieving documents which pertain to data in the database. To
accomplish this, I was going to create a Windows Share on the Documents
folder and create two accounts for access from the web servers, a User
account which only has Read access to the share and an Admin account
which has Read/Write access to the share and underlying folders.

The web app was going to be separated into two ASP.Net applications,
one for Users and the other for Admins. I was going to create a
virtual directory on the user app which would point to the Share on the
remote server and set the anonymous account on that virtual directory
to be the User account I created for Reading the documents. This would
allow anyone to be able to directly download the documents via a URL.

For the administrative side, I was going to create a separate
Application Pool which contains the Admin application and establish the
Admin account with Read/Write permissions on the share as the Custom
Service account within which the appplication would run. Therefore, I
would know for sure that only users accessing the administrative
application would have rights to Write to the Share.

After researching the options for some time, I found that the easiest
way to do this is to create either mirrored local accounts on the web
and database servers or set up domain accounts to span both servers.
The only problem is that I have been told by my infrastructure team
that because the database servers are clustered, they cannot establish
local accounts on the servers. I am not sure if this is true or not,
but I have to go by what they tell me.

Also, the servers are within different domains which are not trusted,
so I don't think the domain account solution would work as I could not
establish a domain account as the Service Account for the Application
Pool which could span all of the servers. Somebody did mention that it
maybe possible to establish mirrored domain accounts, however I have
not read this anywhere in the research I conducted.

So given the information provided above, could somebody please help me
out with these questions:

1. Is it possible possible to create local accounts on clustered
servers in order to go with the mirrored local accounts solution?
2. Is it possible to establish mirrored domain accounts for cross
domain access?
3. Given the scenario presented above, what is the easiest and/or best
solution to use to implement the desired environment?

Thanks in advance for any help.

John Fleming
jf******@misicompany.com

Jan 29 '06 #1
0 1817

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
2878
by: Lamberti Fabrizio | last post by:
Hi all, I've to access to a network file from an asp pages. I've red a lot of things on old posts and on Microsoft article but I can't still solve my problem. I've got two server inside the...
36
16313
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
1
3390
by: Max Baki via .NET 247 | last post by:
I all, i've write a sample ftp Windows service which download files and copy them on remote share or remote mapped drive (the service works fine on local drives). This part of code is the...
1
4003
by: thoducng | last post by:
I am writing some code to access share folder on a remote network. DirectoryInfo dicInfo = new DirectoryInfo("remoteNetwork\shareFolder"); if (dicInfo.Exists) { //application code...
6
4535
by: eswanson | last post by:
on a different server. I am currently getting an access denied when I attempt to do the following in my asp.net page: strFilePath = ConfigurationManager.AppSettings; strFileName =...
2
2358
by: Gerhard | last post by:
I have a .net application that I want to run in a DMZ, with the SQL Server and file system behind another firewall. Is there a secure way to get to files from my application, or would it be better...
4
3261
by: Geoff Lane | last post by:
Development environment: Windows 2003 Server running IIS6 and the same server running as a domain controller, DNS and DHCP servers. Production environment: Windows 2000 Server SP4 running IIS5...
4
4197
by: Noy B | last post by:
Hi, I have developed a small application that is using a MSAccess DB. the problem is that it was developed on a machine where the application and the DB are both located. now it needs to be...
1
5446
by: Usenet User | last post by:
From a .NET 1.1 app: need to access a file share on a remote server by its UNC path, i.e., \\server\folder\subfolder\, using specific username and password. The problem is that the credentials...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.