Solved

how to put a password to a folder ???

Posted on 2014-10-28
4
249 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
ID: 40410059
www​.winability.com/folderguard is able to do that.
0
 
LVL 2

Assisted Solution

by:Pratik Makwana
Pratik Makwana earned 167 total points
ID: 40410065
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
ID: 40410146
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
ID: 40460010
Thank you all !!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PC freezes and shutdowns becoming more frequent 17 104
cant ping a windows 10 computer 12 56
Intel wireless adapter shuts down when logging off Windows 7 13 57
Clone OS to SSD 5 51
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
Detailed instructions on how to install an Access add-in in recent versions of Office and Windows (with screen shots)
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 Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

895 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

13 Experts available now in Live!

Get 1:1 Help Now