Prevent access to UNC path while saving files from Notepad.

I want to know how to disable UNC paths in "Open" or "Save
 as..." dialog boxes like in notepad?

 I want to block users from typing "\\Server" in the dialog box so that they can't save the files on the network location.
TechGuy100Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tenaj-207Commented:
If your end goal is to keep users from being able to save files where they're not supposed to then it would be better to use the security permissions on the server to limit resources then try to disable the "\\server"  

You see network drives are often connected using using some sort of command that includes \\server\share.  And if you disabled the use of \\server piece in notepad that would have negative side effects else where on your system.  That's just one example of the need to not restrict \\server.

This all leads up to the answer to your questions, you can't disable the use of UNC paths in Open or Save as dialog boxes.

I hope all that makes sense.
-tenaj
0
TechGuy100Author Commented:
In order to explain the requiremnet more clearly...
We have a workstation in our network where we have given access to an application, we do not want the user to save anything from that workstation to any other computer on the network.

Specifically when a user opens Notepad and tries to save the txt file he can put the name of a "workstation" or "server" as "\\Server\....".
We want to restrict this practice if possible. I know we can use permissions on the servers and workstations to do that but is there a way to take away the "Option" completely to save as \\server\,, in Notepad.
0
tenaj-207Commented:
That is different.  The easiest way I know how to accomplish this, but doesn't involve making direct changes to notepad, is as follows.

Set the DNS settings statically on the PC to an your ISP's DNS server (or you could use Verizon's public DNS server 4.2.2.1).  Then go to the host file and make entries for the server and any other computers to point to 127.0.0.1.

I know that's not exactly what your looking for but I think it meets the needs of your goal, to keep the user from accessing the server.

Another tool that you might find useful is a free utility called Microsoft's Steady State.  It's used  to lock down the computer.
http://www.microsoft.com/windows/products/winfamily/sharedaccess/default.mspx

-tenaj
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.