Solved

how to put a password to a folder ???

Posted on 2014-10-28
4
251 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 54

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 54

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Printer Preview Searchs for Printers 16 35
Event log and black screen 22 42
Internet Protocol Security question 3 67
windows 7 starter missing password 21 76
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
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…

806 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