473,623 Members | 2,790 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******@misico mpany.com

Jan 29 '06 #1
0 1825

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

Similar topics

23
2896
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 same NT domain, each one has its own web server. The web server is always IIS 5.0.
36
16360
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 path with a FSO: Set myFile = Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt") this fails with an Permission Denied. here's the deal:
1
3404
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 function to change the local path for downloaded files. If the configured path is different from local drive C: the new path is selected. The program works fine in debug or release mode into Visual Studio. All downloaded files were placed on remote...
1
4010
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 followed
6
4541
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 = strImageName + ".*"; DirectoryInfo di = new DirectoryInfo(Server.MapPath(strFilePath));
2
2374
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 to have a reverse proxy server in the DMZ and the webserver behind the second firewall?
4
3269
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 and not used to provide domain control or name services. The two environments are on different networks with no trust relationship between them. In both environments the web server is set up to disallow anonymous access and to use integrated...
4
4216
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 change that the application will be able to run on any other machine (using \\ syntax on the run command- not a problem) using the DB located on a static-different machine. for this purpose I need to create a Remote Connection from my
1
5465
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 are local to the remote server. Therefore, impersonating that user when accessing the share is not possible. One solution is to map a network drive using the credentials, but it seems kind of ugly and old school.
0
8163
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8610
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8469
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6104
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2597
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1471
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.