Solved

how to put a password to a folder ???

Posted on 2014-10-28
4
245 Views
Last Modified: 2014-11-22
Hello Experts,
One of my customers has three stations on its front desk,
users access early in the morning with a user profile, but during the day there are several shifts, users change but they dont want to change the user profile on each machine simply because all users access the system almost every two minutes, they switch users, and continue with the application where the previous left, etc as they attend customers,

They requested to have a folder on the server to share among the three pcs on the front desk since there are many documents they want to share.... I did it,

Now the requested  to have another folder on the server shared on the three stations that can only be accessed by two supervisors, there are seven users and two supervisors,
They dont want to change user profile but they want to have a shared folder only for two users....
I hope I explained myself properly...
How can I do this ?? without loggging of and on ?? within the same profile?
Regards,
0
Comment
Question by:rguillermo
  • 2
4 Comments
 
LVL 53

Assisted Solution

by:McKnife
McKnife earned 333 total points
Comment Utility
www​.winability.com/folderguard is able to do that.
0
 
LVL 2

Assisted Solution

by:Pratik Makwana
Pratik Makwana earned 167 total points
Comment Utility
For Windows 7.....

1. First choose or create a folder and give it a name and Open the folder by double left clicking it and then right click anywhere within the open folder and select “New” then “Text Document”

2. Rename your newly created text file to 'Password.bat' (make sure the file extension is .bat - not .bat.txt)  Note: that you need to have file extensions view enabled in Windows in order to rename the .txt extension to .bat. Please follow the first to steps of the tutorial HERE if you do not know how to enable it.

3. Right click on the file password.bat and select 'Edit' this will open the file in Notepad and Highlight & Copy the below text and then paste it into the Password.bat file:

@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== ENTER YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

4. Replace the text in the above script 'ENTER YOUR PASSWORD HERE' with your choice of password. Save the file by left clicking 'File' and selecting 'Save' in Notepad and close the file.

5. Now double left click on the password.bat file in the folder and this will create a Private folder. Simply 'copy and paste' the documents/data you want to protect into this Private folder. Once you are finished copying/pasting your documents/data into the Private folder double left click the password.bat file and you will get prompted with: “Are You Sure You Want To Lock The Folder Y/N” - type Y and hit the enter/return key. The Private folder will disappear. It is wise to move the password.bat file to a different location on your computer or on a USB memory stick - as most people who are literate with Windows and bat(ch) files will be able to figure out how to open the password.bat file by right clicking it and selecting 'Edit', which will then reveal your password.

6. If you want the Private folder to reappear - simply move the password.bat file back into the original folder you created, and double left click on the password.bat file, when prompted - enter your password and hit enter/return key - like magic the Private folder will appear once again. Use this technique to Lock/Unlock the file as required.
0
 
LVL 53

Accepted Solution

by:
McKnife earned 333 total points
Comment Utility
Hmm, this is security by obscurity once again. If a user with knowledge found out, he would simply use total commander and see that folder at once.
0
 

Author Closing Comment

by:rguillermo
Comment Utility
Thank you all !!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
With Windows evolving further, the built-in protective mechanisms get better and better. Still, Microsoft is not very good at introducing those to the technical community. This article is about a new bitlocker functionality that could revolutionize …
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

744 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

19 Experts available now in Live!

Get 1:1 Help Now