Solved

securing network folders

Posted on 2014-10-09
2
190 Views
Last Modified: 2014-10-09
I need to be able to secure a network folder so that only 3 people have access to it and each time they access it it needs to prompt them for a username and password. This is a peer-to-peer network not using Active Directory.

further the customer requires that if he should close the network folder, the next time he logs into it it will prompt for username and password even if he has not logged off or restarted his computer.

here is a use case: customer signed into his computer on Monday morning and clicks the shortcut on the desktop to access this secure folder. The network share then will prompt him for a username and password and he is then able to access the files and work. Later, he gets up from his desk to take a short break and closes the window but does not log off or restart the computer after two or three minutes he returns click the icon on the desktop and again the share  prompts him for username and password.
I have tried multiple methods to accomplish this but Windows always remembers the username and password until the computer is restarted. I need the computer to disconnect completely from that network share when the user closes the window.
I am open to third-party software.

thank you in advance for any help
0
Comment
Question by:erocon
[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 Comments
 
LVL 7

Assisted Solution

by:Stampel
Stampel earned 150 total points
ID: 40371498
You can have your share disconnected using command net use /delete.

For example :
net use \\ServerName\Share /DELETE
0
 
LVL 9

Accepted Solution

by:
Trenton Knew earned 350 total points
ID: 40371550
You cannot do this with only windows file sharing.  The connection will persist unless you run the command in Stampel's comment.  

If someone walks away from the computer, however, you can instruct them to lock their workstation by pressing (windows key + L) and make this a security policy that all must follow, and you can also set the screen timeout under power options to automatically lock the workstation after 10 minutes of inactivity.  I can think of no way to create a credentials time-out that won't affect the user that is currently using the folder.  

The ugly hack to accomplish this, however, would be to create a batch script on the desktop to delete the network connection, and have them click THAT to close the folder.  The script would be again, what Stampel has posted.  
net use \\uncPathToShare delete

Open in new window


or to simply disconnect ALL shares...
net use * /delete

Open in new window


The problem here is that it ALSO requires you to train your employees to run the batch script everytime they are done with the folder.  To me, it's just as easy to enforce workstation locking as a company policy.  Make people do it the right way.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

751 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