Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

regarding SCardReadCache/ScardWriteCache

 

LinkBack Thread Tools Display Modes
Old 10-18-2007, 09:11 AM   #1 (permalink)
Default regarding SCardReadCache/ScardWriteCache

Hi,

I have some doubt about SCardReadCache and SCardWriteCache functions.
Can any of you please clarify.

I think while reading card during initialization , we will read the
data from the card using SCardTransmit and Write(initialize) to the
cache. And if any other process needs that data it will first check in
the cache and use it if it is found.

While writing the data to the card, we will update the data to the
smartcard using SCardTransmit function and update the cache using
SCardWriteCache.

Does Microsoft recommend any specific cache/card write sequence to
keep card data and cached data in sync. and How to use the
FreshnessCounter parameter? And How do we organize the
SCardWriteCache data and relate it to data on the card

It is given that data is stored in global cache maintained by the
Smartcard Resource manager. How is data in the cache is protected? Is
it encrypted? Can we keep sensitive data in the cache or only use it
to cache public data.


I also found that the data in the cache can be used by all the process
running in user context. Is it right? What about the services running
using System account. Can they access this cached data?

Regards,
Kamal.

skamalakumar@yahoo.com
Guest
 
Posts: n/a
Reply With Quote  
Old 10-18-2007, 03:44 PM   #2 (permalink)
Default Re: regarding SCardReadCache/ScardWriteCache

On Thu, 18 Oct 2007 02:11:25 -0700, skamalakumar@yahoo.com wrote:
Quote:
> Hi,
>
> I have some doubt about SCardReadCache and SCardWriteCache functions.
> Can any of you please clarify.
>
> I think while reading card during initialization , we will read the
> data from the card using SCardTransmit and Write(initialize) to the
> cache. And if any other process needs that data it will first check in
> the cache and use it if it is found.
>
> While writing the data to the card, we will update the data to the
> smartcard using SCardTransmit function and update the cache using
> SCardWriteCache.
>
> Does Microsoft recommend any specific cache/card write sequence to
> keep card data and cached data in sync. and How to use the
> FreshnessCounter parameter? And How do we organize the
> SCardWriteCache data and relate it to data on the card
>
> It is given that data is stored in global cache maintained by the
> Smartcard Resource manager. How is data in the cache is protected? Is
> it encrypted? Can we keep sensitive data in the cache or only use it
> to cache public data.
>
>
> I also found that the data in the cache can be used by all the process
> running in user context. Is it right? What about the services running
> using System account. Can they access this cached data?
>
> Regards,
> Kamal.
Cross-posted and follow-ups set to microsoft.public.security.crypto. You're
likely to get better answers there.

--
Paul Adare
MVP - Virtual Machines
http://www.identit.ca
It is ten o'clock; do you know where your processes are?
Paul Adare
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Is there Vista VS2005 service pack for updating WinSCard.h and lib file for SCardReadCache function skamalakumar@yahoo.com Windows Vista Security 1 10-15-2007 01:58 PM


All times are GMT. The time now is 09:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90