Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: [Query]How to lock folders in USB ext drive?


22 May 2012   #1

Windows 7
 
 
[Query]How to lock folders in USB ext drive?

Dear All,

Here is the scenario. I want to create a folder say 'abc' in an USB external hard drive.
The files inside that folder 'abc' should be read-only for all other users except me.
So, whoever using that ext hard drive in their machine, will be able to view or copy the files only, no cut-paste or delete will be allowed.
If it is possible to achieve via any 3rd party tool, you can suggest me that too.

Thanks in advance,
Troy.


My System SpecsSystem Spec
.

22 May 2012   #2

Win7 H.Prem. 32bit+SP1
 
 

Hi Troy,
the easiest method is to password protect your files using 7Zip
My System SpecsSystem Spec
22 May 2012   #3

Windows 7
 
 

Quote   Quote: Originally Posted by Roderunner View Post
Hi Troy,
the easiest method is to password protect your files using 7Zip
no, i do not want to password protect the files...the files can be accessed but in a read-only mode only.
My System SpecsSystem Spec
.


22 May 2012   #4

Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
 
 

Log into your admin account>Right click on "ABC" > Properties> Sharing>Share>Set permissions for "everyone" to "Read"

You have to have NTFS format on your usb stick for permissions to work properly
My System SpecsSystem Spec
22 May 2012   #5

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Faber,

Excellent! Do you know if this works on the top-level permissions? Say for instance the stick is my G:\ drive - can I set permissions for the entire drive and is that advisable?

RtClick G:\ ==> Properties ==> Security ==> Everyone ==> Mark Checkbox "Read" and "List Folder contents" and Clear all other Checkboxes for Everyone (or mark deny for other functions)

A user might have to manipulate security to suit their needs (changing Amin and authenticated user trights). This approach doesn't limit the "protection" to a single folder. It might however create other difficulties. What are your thoughts?

Peace!
My System SpecsSystem Spec
22 May 2012   #6

Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
 
 

Sorry I went to sleep shortly after my last message

Right click on "G:" > Properties > Security > Advanced > Change Permissions for "everyone" > Select "Everyone and click Edit... > Check boxes "List folder /read data", "Read attributes", "Read extended attributes" "Read permissions" and make sure you have all others unchecked DO NOT CLICK DENY for anything or you may loose control of your partition completely. denying permissions to "everyone" will override all other permissions settings. Click OK.

Return to the permissions menu > click Add... > You can either type your administrator user name and click "check names" > or click advanced > Find now > search for your administrator user name > click OK

Check the box for "Full control" > click OK

After you see both Everyone, and your administrator account listed in the permissions entries dialog box, check the box for "Replace all child object permissions with inheritable permissions from this object". If you dont, the new set permissions will only be set to the root directory of this partition. So make sure you have this box checked so that all folders and sub folders will have the same permissions.

If you ever wish to go back and add another user with custom permissions (Lets say your spouse, best friend or co-worker you trust), make sure to re-check that box again when your finished. Hope this helps
My System SpecsSystem Spec
23 May 2012   #7

Windows 7
 
 

Many thanks Faber...this is exactly what I was looking for

Extra credit for making this possible without any 3rd part app

I am now marking this thread as 'solved'.
My System SpecsSystem Spec
23 May 2012   #8

Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
 
 

My pleasure ----------------------------------------------------------------------------------------------------↑
My System SpecsSystem Spec
23 May 2012   #9

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Thanks - this is a good thing to know
DO NOT CLICK DENY for anything or you may loose control of your partition completely. denying permissions to "everyone" will override all other permissions settings.

I wasn't sure which user took precedence Everyone or MyOwn - now I am.
My System SpecsSystem Spec
25 May 2012   #10

Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
 
 

It actually gives you a disclaimer telling you so when you check any deny options. But knowing me, out of curiosity, I had to try. At least it was a test on a blank partition. I had to reformat.
My System SpecsSystem Spec
Reply

 [Query]How to lock folders in USB ext drive?




Thread Tools



Similar help and support threads for2: [Query]How to lock folders in USB ext drive?
Thread Forum
Folders are shared but contents have lock icon Network & Sharing
Remove lock from folders and files General Discussion
How do I effectively hide and lock folders/files in Windows 7 64bit? General Discussion
lock or protect files and folders Music, Pictures & Video
How to remove lock icon from folders? General Discussion
How can I lock my folders?? Software
Why have some of my folders got a lock! General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33