• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Win7 writing to root of drives

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Windows

View previous topic :: View next topic  
Author Message
graycat
SF Mod
SF Mod


Joined: 29 Apr 2005
Posts: 16777195
Location: London, UK

Offline

PostPosted: Fri May 20, 2011 2:51 pm    Post subject: Win7 writing to root of drives Reply with quote

Does anyone know why you need to be an admin account to write files to the root of a drive?

It looks like MS have done this by design but I can't think of a good reason. For example: putting files onto a USB pen drive - you need to be an admin to put them on the root but not into a sub-folder.

Weird IMO.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
capi
SF Senior Mod
SF Senior Mod


Joined: 21 Sep 2003
Posts: 16777097
Location: Portugal

Offline

PostPosted: Fri May 20, 2011 11:08 pm    Post subject: Reply with quote

Really? Wow, I'm sure out of touch with all these new Windows versions nowadays.

I would say it's definitely a good idea to protect the root of internal drives, e.g. C:\ -- however that can easily be achieved with default NTFS permissions. As for removable drives and the protection apparently being hardcoded... that sounds weird to me too.
Back to top
View user's profile Send private message
georgec
SF Staff
SF Staff


Joined: 15 Nov 2010
Posts: 0


Offline

PostPosted: Wed Jun 01, 2011 8:54 am    Post subject: Reply with quote

There was a limitation of the number of files and folders you can have in the root previous to NTFS, however, I am not sure with NTFS but remember that from a security point of view it helps to limit the root to admin!
Back to top
View user's profile Send private message Visit poster's website
AdamV
SF Mod
SF Mod


Joined: 06 Oct 2004
Posts: 24
Location: Leeds, UK

Offline

PostPosted: Sat Jun 11, 2011 4:00 am    Post subject: Reply with quote

I've not had that problem as far as I can recall, on flash drives, external hard drives etc.
I just went and created a folder called "test" in c:\ without any issue, but I can't create a file c:\test.txt (saving from notepad).
(I am of course running as a non-admin user, with UAC fully loaded too)

So it looks like on my system drive I can create a folder but not files in the root.
On external ones it could be that I am not using a secure file system, or that my usual organised brain almost always creates folders anyway before putting files on any media.

What file system is the drive in question? (in most cases I would expect USB thumb drives to be FAT or FAT32, so not using NTFS permissions for example).

Why would you want to save files in the root when you can just as easily save the somewhere else? Or create a folder to put them in (I'm guessing you might be scripting something here)?
Back to top
View user's profile Send private message Visit poster's website
graycat
SF Mod
SF Mod


Joined: 29 Apr 2005
Posts: 16777195
Location: London, UK

Offline

PostPosted: Wed Jun 15, 2011 10:52 am    Post subject: Reply with quote

Cheers for testing this out, guys.

The ext drives can be NTFS or FAT32 and I haven't seen it make a difference.

AdamV - I'm glad to see you're getting the same results as I. Personally I agree that files shouldn't be written directly to the root of a drive but placed in a logical file structure ..... but that doesn't always happen IRL.

It's more a curiosity than an issue. Smile
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Windows All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register