Re: Basic Networking (filesharing)
- From: Robert <no@xxxxxx>
- Date: Thu, 26 Jun 2008 00:46:34 -0500
On Wed, 25 Jun 2008 18:57:02 -0700 (PDT), Rene_Surop <infodynamics_ph@xxxxxxxxx> wrote:
Hi,
This is basically a networking issue though programs are written in
Cobol. The Cobol application uses a networked file as SELECT filename
ASSIGN TO "\\server\sharefolder\Users.DAT"
On the client-side, I still need to 'map' the networked sharefolder
with Windows OS username/password for the client PC to access it.
No you don't need to map a drive letter. You can access it as
"\\server\sharefolder\Users.DAT" without a drive letter.
But the mapping of a drive letter has nothing to do with security.
Once
the drive letter has been mapped and everytime the client PC logon...
the folder is wide open for access. Meaning it could be deleted by the
client PC (users). This is very risky.
There are a wide variety of permissions that can be granted by user and role, on
directories and on individual files. Using Explorer, right click on a directory,
Properties, Security, Advanced, (select a user), View/Edit. See all the permissions that
can be granted and denied?
Security is achieved by granting PERMISSIONS to users, not by denying them access to the
disk.
The network platform is simple and I do not use DFS (distributed file
system) in windows server. Did not use it because I only have one PC
server.
You are using SMB and Domain authentication.
How can I connect to the \\server drive "without" exposing the mapped
network drive? Can I probably use autoexec.bat or win.ini file to
connect to \\server without exposing (naming it drive H) it as mapped
network drive? The client PC uses Windows OS.
Drive mappings can be set to automatically reconnect. You shouldn't put them in
autoexec.bat or win.ini. You're not running MS-DOS. You don't need mappings unless you
want the shared directories to appear in Explorer.
If you want the application to have different permissions from users (why?) start them
using runas:
runas /profile /user:(server)\(user) "(yourprogram)"
Your users will need to know the password for (user), so they could run the above with
(yourprogram) = cmd, or do their own drive mapping.
.
- Follow-Ups:
- Re: Basic Networking (filesharing)
- From: Rene_Surop
- Re: Basic Networking (filesharing)
- References:
- Basic Networking (filesharing)
- From: Rene_Surop
- Basic Networking (filesharing)
- Prev by Date: Re: Basic Networking (filesharing)
- Next by Date: Re: S0C4 x'4' abend while reading VSAM KSDS file
- Previous by thread: Re: Basic Networking (filesharing)
- Next by thread: Re: Basic Networking (filesharing)
- Index(es):
Relevant Pages
|