how to put a password to a folder ???

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,
RGuillermoProject ManagerAsked:
Who is Participating?
 
McKnifeCommented:
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
 
McKnifeCommented:
www​.winability.com/folderguard is able to do that.
0
 
Pratik MakwanaData AnalystCommented:
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
 
RGuillermoProject ManagerAuthor Commented:
Thank you all !!
0
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.

All Courses

From novice to tech pro — start learning today.