map drive access. best practice

  • Thread starter Daniel Gooderidge
  • Start date
D

Daniel Gooderidge

Hi,

I have many folders under my share drive eg,

share\finance
share\sales
share\production

I only want to create one share and have non inherited rights to sub
folders.

My problem is all users can view folder names in the root of share. Is there
a way of fixing this.
share has full control and all other rights to sub folders are given through
non inherited NTFS.

Is this the best method/practice for mapping a single drive for clients?

Thanks in advance

Daniel
 
C

Chriss3

Use the follow script within Logon Script to map recures by group membership

On Error Resume Next

Dim net, DomainString, UserString, UserObj

set net = Wscript.CreateObject("Wscript.Network")

DomainString = net.UserDomain
UserString = net.UserName


Set UserObj = GetObject("WinNT://" & DomainString & "/" & UserString)

For Each GroupObj In UserObj.Groups
Select Case GroupObj.Name

Case "Finance"
' *** Connect Network Drives by group

net.MapNetworkDrive "G:", "\\SERVER\SHARE\Finance"

' *** Add printers by gorup

net.AddWindowsPrinterConnection "\\printsrv\P-Finance01"

' *** Set default printer

net.SetDefaultPrinter "\\printsrv\P-Finance01"

Case "Sales"
' *** Connect Network Drives by group

net.MapNetworkDrive "G:", "\\SERVER\SHARE\Sales"

' *** Add printers by gorup

net.AddWindowsPrinterConnection "\\printsrv\P-Sales01"

' *** Set default printer

net.SetDefaultPrinter "\\printsrv\P-Sales01"

End Select
Next

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 
D

Daniel Gooderidge

ok that helps if I want multiple mapped drives but a large directory
structure could have more than 27 mapped drives and this solution would not
be practical.

On a Novell server you can have one mapped drive and any folders I don't
have access to are not viewable.

if I was in the finance, and production group

I would get two mapped drives.

I really want one mapped drive with only the directories the user has access
to viewable.

eg. mapped drive is s:\

s:\production
s:\finance

s:\sales is not viewable because of ntfs rights.

I this possible?

Thanks Again

Daniel
 
C

Chriss3

Hello, I'm sorry you can't hide objects with in a folder that the particular
user , group or computer have read / List content to. Unless you want to
prevent them from access the folder at all.

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 
D

Daniel Gooderidge

Oh well, Thanks anyway

I was hoping it would work.

Would most companies have lots of shares and just map each one when required
giving each user eg.

p:\production
s:\sales
etc... by using the login script example you Posted earlier?

Daniel
 
C

Chriss3

Yes, Or use the same driver letter, and map for example P:\ to
\\server\prdouction if you are a member of production group ,

but are you logged in as a member of the sales group P: maps to
\\server\sales


--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top