Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2007, 01:23 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default Mark a USB Drive a Read Only.

Ok, this is giving me a headache. (Moreso due to me banging my head repeatedly off of my disk then because of the actual problem, but you will have that)

I have wrote a Windows app that preforms some actions against a USB Thumbdrive (the things that the application does is not pertinent to this post) but I am having some trouble with this final piece.

In so far as my research is concerned, I believe that it is not possible to pragmatically set a thumbdrive to be read-only at the device level. I have read multiple articles about how to do this via the Registry and using AD policies but nothing, as I said, at the device level.

So, plainly, is it possible to mark a USB Thumbdrive Read only regardless of the PC that it is accessed from?

Any help would be much appreciated.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
Read stream from USB Magnetic Card Reader tsadok Visual Basic 2005 Basics 8 September 3rd, 2008 03:02 PM
Read data from USB san2308 General .NET 0 September 25th, 2006 08:02 AM
VB / Lotus - Mark messages as read/unread gattsi Pro VB 6 3 August 7th, 2006 06:26 AM
Message Box on USB flash disk/hard drive insertion arif_1947 VS.NET 2002/2003 0 October 7th, 2004 03:06 AM
implementing auto run from usb flash drive arif_1947 VS.NET 2002/2003 0 October 6th, 2004 10:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.