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

onlytanmoy

New member
Member
Local time
9:05 AM
Messages
64
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 Computer My Computer

At a glance

Windows 7
OS
Windows 7
Hi Troy,
the easiest method is to password protect your files using 7Zip
 

My Computer My Computer

At a glance

Win7 H.Prem. 32bit+SP1
Computer Manufacturer/Model Number
Look in my Signature.
OS
Win7 H.Prem. 32bit+SP1
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 Computer My Computer

At a glance

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

You have to have NTFS format on your usb stick for permissions to work properly
 

My Computer My Computer

At a glance

Windows 7 x64 / Windows Server 2008 / Linux (...AMD FX 8150 Eight-Core Processor 4.23 Ghz OCG.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 ...2X Radeon HD 4870 CrossFire X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Pandora (computer name)
OS
Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
CPU
AMD FX 8150 Eight-Core Processor 4.23 Ghz OC
Motherboard
ASUS SaberTooth 990FX
Memory
G.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 SDRAM 1333
Graphics Card(s)
2X Radeon HD 4870 CrossFire X
Sound Card
Onboard and loving it
Monitor(s) Displays
2x HP w2480 Wide LCD
Screen Resolution
1920x1200 each
Hard Drives
RAID (6x0 Seagate Barracuda 7200 rpm 32 MB cache 500Gb SATA)
PSU
Antec 850 Watt
Case
Antec 900
Cooling
Lots of fans
Keyboard
Logitech
Mouse
Rat 9
Internet Speed
40 Mbps Down 5 Mbps Up
Antivirus
AVG
Browser
Chrome, Firefox, IE
Other Info
My main desktop
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!
 
Last edited:

My Computer My Computer

At a glance

x64 (6.3.9600) Win8.1 Pro & soon dual boot x6...AMD A6-3420M APU with Radeon(tm) HD Graphics6.00 GBAMD Radeon(TM) HD 6520G
Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
Sorry I went to sleep shortly after my last message :p

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 :cool:
 

My Computer My Computer

At a glance

Windows 7 x64 / Windows Server 2008 / Linux (...AMD FX 8150 Eight-Core Processor 4.23 Ghz OCG.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 ...2X Radeon HD 4870 CrossFire X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Pandora (computer name)
OS
Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
CPU
AMD FX 8150 Eight-Core Processor 4.23 Ghz OC
Motherboard
ASUS SaberTooth 990FX
Memory
G.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 SDRAM 1333
Graphics Card(s)
2X Radeon HD 4870 CrossFire X
Sound Card
Onboard and loving it
Monitor(s) Displays
2x HP w2480 Wide LCD
Screen Resolution
1920x1200 each
Hard Drives
RAID (6x0 Seagate Barracuda 7200 rpm 32 MB cache 500Gb SATA)
PSU
Antec 850 Watt
Case
Antec 900
Cooling
Lots of fans
Keyboard
Logitech
Mouse
Rat 9
Internet Speed
40 Mbps Down 5 Mbps Up
Antivirus
AVG
Browser
Chrome, Firefox, IE
Other Info
My main desktop
Many thanks Faber...this is exactly what I was looking for :D

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

I am now marking this thread as 'solved'.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
My pleasure :cool: ----------------------------------------------------------------------------------------------------↑
 

My Computer My Computer

At a glance

Windows 7 x64 / Windows Server 2008 / Linux (...AMD FX 8150 Eight-Core Processor 4.23 Ghz OCG.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 ...2X Radeon HD 4870 CrossFire X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Pandora (computer name)
OS
Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
CPU
AMD FX 8150 Eight-Core Processor 4.23 Ghz OC
Motherboard
ASUS SaberTooth 990FX
Memory
G.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 SDRAM 1333
Graphics Card(s)
2X Radeon HD 4870 CrossFire X
Sound Card
Onboard and loving it
Monitor(s) Displays
2x HP w2480 Wide LCD
Screen Resolution
1920x1200 each
Hard Drives
RAID (6x0 Seagate Barracuda 7200 rpm 32 MB cache 500Gb SATA)
PSU
Antec 850 Watt
Case
Antec 900
Cooling
Lots of fans
Keyboard
Logitech
Mouse
Rat 9
Internet Speed
40 Mbps Down 5 Mbps Up
Antivirus
AVG
Browser
Chrome, Firefox, IE
Other Info
My main desktop
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 Computer My Computer

At a glance

x64 (6.3.9600) Win8.1 Pro & soon dual boot x6...AMD A6-3420M APU with Radeon(tm) HD Graphics6.00 GBAMD Radeon(TM) HD 6520G
Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion dv6-6c10us
OS
x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
CPU
AMD A6-3420M APU with Radeon(tm) HD Graphics
Motherboard
Hewlett-Packard 1805
Memory
6.00 GB
Graphics Card(s)
AMD Radeon(TM) HD 6520G
Sound Card
(1) AMD High Definition Audio Device (2) IDT High Definiti
Monitor(s) Displays
HP W2072a 20" LCD (1600 x 900) @ 60 Hz
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST640LM0 00 HM641JI SATA Disk Device
Keyboard
Logitech k520 wireless KB
Mouse
Logitech m320 wireless mouse (bundled with KB)
Internet Speed
15/5 | 54 MB Wireless 'n'
Antivirus
Realtime: Defender or Avast | On-demand: Malwarebytes, ESET
Browser
IE 11 on Win8, IE 10 on win 7
Other Info
Media: [Gimp, Audacity, VLC] || Comm: [WEmail 2012, Skype] || Productivity: [OpenOffice,| Textpad] || Utils: [Sysinternals, cCleaner, Speccy, Defraggler]
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. :p
 

My Computer My Computer

At a glance

Windows 7 x64 / Windows Server 2008 / Linux (...AMD FX 8150 Eight-Core Processor 4.23 Ghz OCG.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 ...2X Radeon HD 4870 CrossFire X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Pandora (computer name)
OS
Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
CPU
AMD FX 8150 Eight-Core Processor 4.23 Ghz OC
Motherboard
ASUS SaberTooth 990FX
Memory
G.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 SDRAM 1333
Graphics Card(s)
2X Radeon HD 4870 CrossFire X
Sound Card
Onboard and loving it
Monitor(s) Displays
2x HP w2480 Wide LCD
Screen Resolution
1920x1200 each
Hard Drives
RAID (6x0 Seagate Barracuda 7200 rpm 32 MB cache 500Gb SATA)
PSU
Antec 850 Watt
Case
Antec 900
Cooling
Lots of fans
Keyboard
Logitech
Mouse
Rat 9
Internet Speed
40 Mbps Down 5 Mbps Up
Antivirus
AVG
Browser
Chrome, Firefox, IE
Other Info
My main desktop
I think NTFS always evaluates deny selection first and therefore will take precedence over any allow.

You can test against specific users/groups by drilling a little deeper into the dialogs (Advanced button) to see how NTFS will evaluate your selections.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64

My Computer My Computer

At a glance

Windows 7 x64 / Windows Server 2008 / Linux (...AMD FX 8150 Eight-Core Processor 4.23 Ghz OCG.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 ...2X Radeon HD 4870 CrossFire X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Pandora (computer name)
OS
Windows 7 x64 / Windows Server 2008 / Linux (Redhat & Deb distros) / OS X / More
CPU
AMD FX 8150 Eight-Core Processor 4.23 Ghz OC
Motherboard
ASUS SaberTooth 990FX
Memory
G.SKILL Ripjaws X Series 32GB (4 x 8GB) DDR3 SDRAM 1333
Graphics Card(s)
2X Radeon HD 4870 CrossFire X
Sound Card
Onboard and loving it
Monitor(s) Displays
2x HP w2480 Wide LCD
Screen Resolution
1920x1200 each
Hard Drives
RAID (6x0 Seagate Barracuda 7200 rpm 32 MB cache 500Gb SATA)
PSU
Antec 850 Watt
Case
Antec 900
Cooling
Lots of fans
Keyboard
Logitech
Mouse
Rat 9
Internet Speed
40 Mbps Down 5 Mbps Up
Antivirus
AVG
Browser
Chrome, Firefox, IE
Other Info
My main desktop
Back
Top