473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

File I/O on DMZ

Hi All, I have couple of servers in DMZ , I need to do some File I/O on them
from my internal servers...The File I/O are going to be quite large so
obviating WebService option (not sure about Remoting....)
What alternatives do I have which come canned? Don't wanna write a server or
client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's are
strictly provisioned no major policy changes...

My DMZ's servers are Win2k3 (Web Ed)
Internal Servers are Win2k

TIA
Feb 28 '06 #1
7 1664

"Vai2000" <no****@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
| Hi All, I have couple of servers in DMZ , I need to do some File I/O on
them
| from my internal servers...The File I/O are going to be quite large so
| obviating WebService option (not sure about Remoting....)
| What alternatives do I have which come canned? Don't wanna write a server
or
| client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's are
| strictly provisioned no major policy changes...
|
| My DMZ's servers are Win2k3 (Web Ed)
| Internal Servers are Win2k
|
| TIA
|
|

What exactly do you mean with File I/O, if you mean file transfer,use FTP
(port 21). If you mean programmed File I/O, your only option is the use the
standard Windows Client/Server protocol (SMB) for which you need to open TCP
ports 139 and 445, note that you should configure your inner FW to only
allow trafic from your internal network.

Willy.
Feb 28 '06 #2
Great thanks, I was looking forward for creating files etc...to varied file
folder locations....unfortunately FTP is prohibited on this Box.

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...

"Vai2000" <no****@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
| Hi All, I have couple of servers in DMZ , I need to do some File I/O on
them
| from my internal servers...The File I/O are going to be quite large so
| obviating WebService option (not sure about Remoting....)
| What alternatives do I have which come canned? Don't wanna write a server or
| client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's are
| strictly provisioned no major policy changes...
|
| My DMZ's servers are Win2k3 (Web Ed)
| Internal Servers are Win2k
|
| TIA
|
|

What exactly do you mean with File I/O, if you mean file transfer,use FTP
(port 21). If you mean programmed File I/O, your only option is the use the standard Windows Client/Server protocol (SMB) for which you need to open TCP ports 139 and 445, note that you should configure your inner FW to only
allow trafic from your internal network.

Willy.

Feb 28 '06 #3
After enabling SMB how to proceed...?
"Vai2000" <no****@microsoft.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
Great thanks, I was looking forward for creating files etc...to varied file folder locations....unfortunately FTP is prohibited on this Box.

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...

"Vai2000" <no****@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
| Hi All, I have couple of servers in DMZ , I need to do some File I/O on them
| from my internal servers...The File I/O are going to be quite large so
| obviating WebService option (not sure about Remoting....)
| What alternatives do I have which come canned? Don't wanna write a

server
or
| client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's are
| strictly provisioned no major policy changes...
|
| My DMZ's servers are Win2k3 (Web Ed)
| Internal Servers are Win2k
|
| TIA
|
|

What exactly do you mean with File I/O, if you mean file transfer,use FTP (port 21). If you mean programmed File I/O, your only option is the use

the
standard Windows Client/Server protocol (SMB) for which you need to open

TCP
ports 139 and 445, note that you should configure your inner FW to only
allow trafic from your internal network.

Willy.


Feb 28 '06 #4
Any network/system admins in the house? You need to ask them to configure
the FW, you need at least to open the TCP ports 139 and 445 and the UDP
ports 137 and 138 and allow the internal network server(s) IP addresses.
When done you need to make sure you can access the perimeter network over
TCP/IP.
Share the directory you want to access from the client(s). Create a shadow
acount, that is an account with the same credentials as on the client and
grant R/W access to the share to this account.
From the client, running as or impersonating the shadow account, you can
access the share for file i/o by using all framework file IO classes.
Willy.

"Vai2000" <no****@microsoft.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
| After enabling SMB how to proceed...?
|
|
| "Vai2000" <no****@microsoft.com> wrote in message
| news:u2****************@tk2msftngp13.phx.gbl...
| > Great thanks, I was looking forward for creating files etc...to varied
| file
| > folder locations....unfortunately FTP is prohibited on this Box.
| >
| > "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
| > news:%2****************@TK2MSFTNGP15.phx.gbl...
| > >
| > > "Vai2000" <no****@microsoft.com> wrote in message
| > > news:%2****************@TK2MSFTNGP14.phx.gbl...
| > > | Hi All, I have couple of servers in DMZ , I need to do some File I/O
| on
| > > them
| > > | from my internal servers...The File I/O are going to be quite large
so
| > > | obviating WebService option (not sure about Remoting....)
| > > | What alternatives do I have which come canned? Don't wanna write a
| > server
| > > or
| > > | client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's
are
| > > | strictly provisioned no major policy changes...
| > > |
| > > | My DMZ's servers are Win2k3 (Web Ed)
| > > | Internal Servers are Win2k
| > > |
| > > | TIA
| > > |
| > > |
| > >
| > > What exactly do you mean with File I/O, if you mean file transfer,use
| FTP
| > > (port 21). If you mean programmed File I/O, your only option is the
use
| > the
| > > standard Windows Client/Server protocol (SMB) for which you need to
open
| > TCP
| > > ports 139 and 445, note that you should configure your inner FW to
only
| > > allow trafic from your internal network.
| > >
| > > Willy.
| > >
| > >
| >
| >
|
|
Feb 28 '06 #5
Thanks, though like I said the servers are in DMZ so they are not part of
ANY Domains...
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uj**************@TK2MSFTNGP11.phx.gbl...
Any network/system admins in the house? You need to ask them to configure
the FW, you need at least to open the TCP ports 139 and 445 and the UDP
ports 137 and 138 and allow the internal network server(s) IP addresses.
When done you need to make sure you can access the perimeter network over
TCP/IP.
Share the directory you want to access from the client(s). Create a shadow
acount, that is an account with the same credentials as on the client and
grant R/W access to the share to this account.
From the client, running as or impersonating the shadow account, you can
access the share for file i/o by using all framework file IO classes.
Willy.

"Vai2000" <no****@microsoft.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
| After enabling SMB how to proceed...?
|
|
| "Vai2000" <no****@microsoft.com> wrote in message
| news:u2****************@tk2msftngp13.phx.gbl...
| > Great thanks, I was looking forward for creating files etc...to varied
| file
| > folder locations....unfortunately FTP is prohibited on this Box.
| >
| > "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
| > news:%2****************@TK2MSFTNGP15.phx.gbl...
| > >
| > > "Vai2000" <no****@microsoft.com> wrote in message
| > > news:%2****************@TK2MSFTNGP14.phx.gbl...
| > > | Hi All, I have couple of servers in DMZ , I need to do some File I/O | on
| > > them
| > > | from my internal servers...The File I/O are going to be quite large so
| > > | obviating WebService option (not sure about Remoting....)
| > > | What alternatives do I have which come canned? Don't wanna write a
| > server
| > > or
| > > | client code....can we use some inbuilt Win2k3 API's???? BTW DMZ's
are
| > > | strictly provisioned no major policy changes...
| > > |
| > > | My DMZ's servers are Win2k3 (Web Ed)
| > > | Internal Servers are Win2k
| > > |
| > > | TIA
| > > |
| > > |
| > >
| > > What exactly do you mean with File I/O, if you mean file transfer,use | FTP
| > > (port 21). If you mean programmed File I/O, your only option is the
use
| > the
| > > standard Windows Client/Server protocol (SMB) for which you need to
open
| > TCP
| > > ports 139 and 445, note that you should configure your inner FW to
only
| > > allow trafic from your internal network.
| > >
| > > Willy.
| > >
| > >
| >
| >
|
|

Mar 1 '06 #6

"Vai2000" <no****@microsoft.com> wrote in message
news:Od*************@TK2MSFTNGP12.phx.gbl...
| Thanks, though like I said the servers are in DMZ so they are not part of
| ANY Domains...
|
|

So what? You don't need a Domain, that's why I explained to create a shadow
account, right?.

Willy.

| "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
| news:uj**************@TK2MSFTNGP11.phx.gbl...
| > Any network/system admins in the house? You need to ask them to
configure
| > the FW, you need at least to open the TCP ports 139 and 445 and the UDP
| > ports 137 and 138 and allow the internal network server(s) IP addresses.
| > When done you need to make sure you can access the perimeter network
over
| > TCP/IP.
| > Share the directory you want to access from the client(s). Create a
shadow
| > acount, that is an account with the same credentials as on the client
and
| > grant R/W access to the share to this account.
| > From the client, running as or impersonating the shadow account, you can
| > access the share for file i/o by using all framework file IO classes.
| >
| >
| > Willy.
| >
| > "Vai2000" <no****@microsoft.com> wrote in message
| > news:%2******************@TK2MSFTNGP14.phx.gbl...
| > | After enabling SMB how to proceed...?
| > |
| > |
| > | "Vai2000" <no****@microsoft.com> wrote in message
| > | news:u2****************@tk2msftngp13.phx.gbl...
| > | > Great thanks, I was looking forward for creating files etc...to
varied
| > | file
| > | > folder locations....unfortunately FTP is prohibited on this Box.
| > | >
| > | > "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in
message
| > | > news:%2****************@TK2MSFTNGP15.phx.gbl...
| > | > >
| > | > > "Vai2000" <no****@microsoft.com> wrote in message
| > | > > news:%2****************@TK2MSFTNGP14.phx.gbl...
| > | > > | Hi All, I have couple of servers in DMZ , I need to do some File
| I/O
| > | on
| > | > > them
| > | > > | from my internal servers...The File I/O are going to be quite
| large
| > so
| > | > > | obviating WebService option (not sure about Remoting....)
| > | > > | What alternatives do I have which come canned? Don't wanna write
a
| > | > server
| > | > > or
| > | > > | client code....can we use some inbuilt Win2k3 API's???? BTW
DMZ's
| > are
| > | > > | strictly provisioned no major policy changes...
| > | > > |
| > | > > | My DMZ's servers are Win2k3 (Web Ed)
| > | > > | Internal Servers are Win2k
| > | > > |
| > | > > | TIA
| > | > > |
| > | > > |
| > | > >
| > | > > What exactly do you mean with File I/O, if you mean file
| transfer,use
| > | FTP
| > | > > (port 21). If you mean programmed File I/O, your only option is
the
| > use
| > | > the
| > | > > standard Windows Client/Server protocol (SMB) for which you need
to
| > open
| > | > TCP
| > | > > ports 139 and 445, note that you should configure your inner FW to
| > only
| > | > > allow trafic from your internal network.
| > | > >
| > | > > Willy.
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
Mar 1 '06 #7
Thanks a bunch my friend

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...

"Vai2000" <no****@microsoft.com> wrote in message
news:Od*************@TK2MSFTNGP12.phx.gbl...
| Thanks, though like I said the servers are in DMZ so they are not part of | ANY Domains...
|
|

So what? You don't need a Domain, that's why I explained to create a shadow account, right?.

Willy.

| "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
| news:uj**************@TK2MSFTNGP11.phx.gbl...
| > Any network/system admins in the house? You need to ask them to
configure
| > the FW, you need at least to open the TCP ports 139 and 445 and the UDP | > ports 137 and 138 and allow the internal network server(s) IP addresses. | > When done you need to make sure you can access the perimeter network
over
| > TCP/IP.
| > Share the directory you want to access from the client(s). Create a
shadow
| > acount, that is an account with the same credentials as on the client
and
| > grant R/W access to the share to this account.
| > From the client, running as or impersonating the shadow account, you can | > access the share for file i/o by using all framework file IO classes.
| >
| >
| > Willy.
| >
| > "Vai2000" <no****@microsoft.com> wrote in message
| > news:%2******************@TK2MSFTNGP14.phx.gbl...
| > | After enabling SMB how to proceed...?
| > |
| > |
| > | "Vai2000" <no****@microsoft.com> wrote in message
| > | news:u2****************@tk2msftngp13.phx.gbl...
| > | > Great thanks, I was looking forward for creating files etc...to
varied
| > | file
| > | > folder locations....unfortunately FTP is prohibited on this Box.
| > | >
| > | > "Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in
message
| > | > news:%2****************@TK2MSFTNGP15.phx.gbl...
| > | > >
| > | > > "Vai2000" <no****@microsoft.com> wrote in message
| > | > > news:%2****************@TK2MSFTNGP14.phx.gbl...
| > | > > | Hi All, I have couple of servers in DMZ , I need to do some File | I/O
| > | on
| > | > > them
| > | > > | from my internal servers...The File I/O are going to be quite
| large
| > so
| > | > > | obviating WebService option (not sure about Remoting....)
| > | > > | What alternatives do I have which come canned? Don't wanna write a
| > | > server
| > | > > or
| > | > > | client code....can we use some inbuilt Win2k3 API's???? BTW
DMZ's
| > are
| > | > > | strictly provisioned no major policy changes...
| > | > > |
| > | > > | My DMZ's servers are Win2k3 (Web Ed)
| > | > > | Internal Servers are Win2k
| > | > > |
| > | > > | TIA
| > | > > |
| > | > > |
| > | > >
| > | > > What exactly do you mean with File I/O, if you mean file
| transfer,use
| > | FTP
| > | > > (port 21). If you mean programmed File I/O, your only option is
the
| > use
| > | > the
| > | > > standard Windows Client/Server protocol (SMB) for which you need
to
| > open
| > | > TCP
| > | > > ports 139 and 445, note that you should configure your inner FW to | > only
| > | > > allow trafic from your internal network.
| > | > >
| > | > > Willy.
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| >
| >
|
|

Mar 1 '06 #8

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

Similar topics

2
by: matt | last post by:
I have compiled some code, some written by me, some compiled from various sources online, and basically i've got a very simple flat file photo gallery. An upload form, to upload the photos and give...
5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
7
by: Joseph | last post by:
Hi, I'm having bit of questions on recursive pointer. I have following code that supports upto 8K files but when i do a file like 12K i get a segment fault. I Know it is in this line of code. ...
3
by: StGo | last post by:
How can i read/write file's custom attributs(like subject,author...) in C#??? Thanks :))
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
1
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
3
by: Shapper | last post by:
Hello, I created a script to upload a file. To determine the file type I am using userPostedFile.ContentType. For example, for a png image I get "image/png". My questions are: 1. Where can...
0
by: troutbum | last post by:
I am experiencing problems when one user has a document open through a share pointing to the web site. I use the dsolefile to read the contents of a particular directory and then display them in a...
0
by: thjwong | last post by:
I'm using WinXP with Microsoft Visual C++ .NET 69462-006-3405781-18776, Microsoft Development Environment 2003 Version 7.1.3088, Microsoft .NET Framework 1.1 Version 1.1.4322 SP1 Most developers...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.