Solved

VFP 9 Network Pathname Question

Posted on 2012-04-12
7
731 Views
Last Modified: 2012-04-15
I have a client who would like to use the UNC naming convention, for example,\\servername\drivename\foldername\foldername and grant users permission on a Windows Server 2008 domain rather than the traditional mapping to the drive or folder.

Question #1: Is this possible?

Question #2: Without traditional mapping can permissions be granted to selected network users at the folder level without granting permissions to folders above the folder named in the UNC convention?  If so, how is this done?

Question #3: If the letters available for network mapping are F-Z are all currently mapped on various users workstations what options for additional drive or folder mapping?

Thank you,

Jeremy
0
Comment
Question by:Jeremy-M
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 42

Accepted Solution

by:
pcelba earned 500 total points
ID: 37841249
1) Yes, VFP supports UNC and you may open files specified by UNC path. You just have to test if everything is working as expected because some minor problems were reported at various forums.

2) Server 2008 allows to share any folder to any user and users do not need to have same rights to parent folders of the shared one.

3) I am just curious why would every user need all available drive letters mapped to network folders? Do all of them use all mapped drives? If you have an application used by all network users then you may decide this application will map its drive as X and all users will use X (and only X) as the app data folder. If somebody will use X for different purpose then it means policy violation and the application must disconnect such drive and connect the right one (or simply report a bug).

Drive mapping is done by the login script obviously so users have the correct drive mapped and they do not use it for different purpose.

BTW, you may use subfolders on mapped drives as you do on the C: drive.
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 37841307
I second pcelba.

I would like to add that if you have way too many folders and drives, why not put them in a config table (DBF or INI) that is shared by all users and you build your paths from this configuration?
0
 

Author Comment

by:Jeremy-M
ID: 37844357
Pcelba gets the 500 points.

I would like to ask a follow-up question.  Is  "\\servername\v:\testing\results" a valid pathname?

Thanks,

Jeremy
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 37845770
\\servername\v:\testing\results is not a valid UNC name, it would be
\\servername\v$\testing\results (even if you give the drive a different share name) but indeed you would then need to share the whole drive v.

You rather would share v:\testing\results via that folders properties dialog in it's sharing tab and give that share some name, let's say testresults, and so the UNC path would end up as \\servername\testresults\

In general just address \\servername in windows explorer and you will see shared drives and folders and printers and more I forgot, perhaps.

Bye, Olaf.
0
 
LVL 42

Expert Comment

by:pcelba
ID: 37846819
Exactly as Olaf says. Colon is not valid filename or path character and OS uses dollar sign on its place in share names. Such share is so called administrative share and its usage should be restricted to ordinary users.
0
 

Author Closing Comment

by:Jeremy-M
ID: 37847164
If I could I would like to have given Olaf 50 points for his excellent response to my follow-up question.   I still need advice on solving this issue and have created another question entitled "Retrieving & Printing Files from a Restricted Access Domain Drive"
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 37847902
It's ok, Jeremy. It's my choice to add info, after a question already is closed. I also answered your new question, now.

Bye, Olaf.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question