Solved

How to hide network drives but still use them for apps

Posted on 2010-09-14
6
627 Views
Last Modified: 2012-06-27
Hi,
I am wondering how I can hide network drives for users but still have them available for applications.
If someone can help that will be appreciated.
Regards,
Joe
0
Comment
Question by:joestramandinoli
6 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 100 total points
Comment Utility
something here (registry hack) which might work, dont know as I have not tried it myself http://www.mombu.com/microsoft/certification-networking/t-how-to-hide-a-network-drive-on-xp-321111.html

and here is the ms article about it http://support.microsoft.com/kb/231289
0
 
LVL 8

Assisted Solution

by:thetmanvn
thetmanvn earned 100 total points
Comment Utility
http://www.online-tech-tips.com/computer-tips/hide-a-drive-in-windows-the-easy-way/

Here you are, but remember this way, user still try all the drive letter if they know about it.
0
 
LVL 4

Assisted Solution

by:Malajlo
Malajlo earned 100 total points
Comment Utility
Disable share mapping and use hidden shares. Network drive is only for easyier use (and old applications using drive letters only)
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 8

Assisted Solution

by:TSGITDept
TSGITDept earned 100 total points
Comment Utility
I use these ALL the time and especially for applications, scripts, etc.

Put a "$" after the share name and it will be hidden from Network Browsing.

Example...
Server Name:     BigFileServer
Visible Share:     d:\shares\Accounting    Shared as "Accounting"
UNC path:          \\BigFileServer\Accounting

Hidden Share:     d:\shares\Accounting    Shared as "Accounting$"
UNC path:          \\BigFileServer\Accounting$

For security best practices:
Create a custom security group (say, "AccountingBatchUpload" for example) to grant Share level and NTFS level access
Then create a service account for your application (add it to the group) and use to authenticate, say "zAccountingBatchUpload" for example.  ( I prefix all my service accounts with a "z" so that they always show up at the end of the alphabet in the AD user list.
0
 
LVL 10

Assisted Solution

by:3_S
3_S earned 100 total points
Comment Utility
First of all I use the $ sign to create drives that users don't have to see.
Then from your application you can make the connection using shell
net use \\server\share$ /user:domain\user password

In the net use command no drive letter is specified. (not need else it will show up in windows explorer)
You can also specify other user then the logged in user.
Now you can access the files with the UNC path.

At the end of the application use
net use \\server\share$ /delete
this disconnects the drive and if you used other credentials the user will not be able to connect back to this drive with his credentials even if he knows the UNC path.

I mostly embed this in the application itself.
0
 

Author Closing Comment

by:joestramandinoli
Comment Utility
Solution not needed anymore
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now