We’re going to have to agree to disagree. (Which is OK )
I’ve got an XP SP2 system right here where I can get a handle to the HDD
to do this as a power user. (No, I can’t share the code). I will admin
it is not simple or intuitive, but it is possible.
On top of which, how many people do you know that run as Admin anyway?
I’d be unsuprised if it were many. After all, isn’t that why Microsoft
at WinHec said they’re creating a new level of permissions for longhorn
that isn’t admin, but let’s you do much of what people have to run as
admin for?
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, June 15, 2005 9:06 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Obtaining the current IDE ATA transfer mode
Well, sorry, but it most certainly does. Phil and I have spent two years
working on a project that requires ATA pass through as implemented in
SP2
for XP, or Server 2003. I personally tested it with a system set for
non-admin accounts ande it simply does NOT work. Besides that project I
also
develope diagnostics for Seagate in XP SP2 and all of that code requires
admin login … else the attempt to create a handle as non-admin is
denied.
Note that Seagate being a HARD DISC company, we only care about access
to
hard disc. Tapes and CR’s make good back ups HDDs . (I say … I say
that’s
a joke son!)
As to SCSI pass through, the docs do say that admin is not required. Yes
but
… you have to create the file handle and if I’m not mistaken opening
\PhysicalDriveN using GENERIC_READ/WRITE requires admin … but on that
I
am shaky since all of my testing has been as Admin and on ATA until
recently.
Goo’ness where’s Nathan Obr when you need him. Some body set this po’
misguided soul straight!!!
–
Gary G. Little
“Mark Overby” wrote in message news:xxxxx@ntdev…
Here’s a good example. I can turn your drive into a complete and total
brick with one command through the ATA security feature set.
Sure, an admin could erase and/or wipe data - agreed.
However, IOCTL_ATA_PASS_THROUGH does NOT require administrator privilege
(at least on XP it doesn’t). (Any more than SCSI pass through does (if
it did 99% of your cd-burning apps would stop working).
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Philip D Barila
Sent: Tuesday, June 14, 2005 11:49 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Obtaining the current IDE ATA transfer mode
I’m intimately familiar with how little ATA_PASS_THROUGH is available
today. And how nonfunctional some implementations are. However, your
statement about it being a security hole is, frankly, full of holes.
How is it a security hole? You have to be admin to use it. Admins
already
can do whatever they like with the system, even taking all the data,
including in-memory decrypted data from encrypted files.
By definition, there is no protection from an admin. If you don’t trust
your admin, you need to get a new admin.
So again, how is ATA_PASS_THROUGH a security hole?
Phil
Philip D. Barila
Seagate Technology LLC
(720) 684-1842
“Mark Overby”
om>
To
Sent by: “Windows System Software Devs
bounce-211877-643 Interest List”
xxxxx@lists.osr.com
No Phone Info
cc
Available
Subject
RE: [ntdev] Obtaining the current
06/14/2005 12:08 IDE ATA transfer mode
PM
Please respond to
“Windows System
Software Devs
Interest List”
com>
IDENTIFY DEVICE always contains the currently selected PIO and DMA
transfer modes. (See ATA/ATAPI-7 if you want the gory details).
Note - IOCTL_ATA_PASS_THROUGH won’t work on all OS’s and with all
drivers. (It’s a security hole that some people close)
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Patrick Laniel
Sent: Tuesday, June 14, 2005 3:58 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Obtaining the current IDE ATA transfer mode
Importance: Low
Thanks Maxim and Leo,
I already had a look at the WMI capabilities before posting. I looked
again
but still can`t find anything that specifies the current DMA/PIO mode of
the
ATA drives. Did you have any particular class in mind?
I found some specifications of the ATA_IDENTIFY command (using the IOCTL
ATA_PASS_THROUGH as Leo suggested, or a SMART command). It seems to
contain
the selected DMA mode. I’ll give it a try.
Patrick
Maxim wrote:
Try WMI.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@nvidia.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@nvidia.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@nvidia.com
To unsubscribe send a blank email to xxxxx@lists.osr.com