Solved

VFP 9 Network Pathname Question

Posted on 2012-04-12
7
680 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
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 41

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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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 41

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now