On Monday 27 March 2006 00:05, Ludovic Rousseau wrote: > You can have a look at the MSDN page about SCardEstablishContext(). > But I don't find the explanation of SCARD_SCOPE_USER and > SCARD_SCOPE_SYSTEM very clear.
Me, neither :-) It doesn't seem to be what I want, though. > I guess what you want is restrict the access to a smart card to only > one application in order to exclude any other application to use the > card at the same time. No, unfortunately. I need to allow multiple applications to access the card. For example, a user may need access to card-based certificates for both Thunderbird and Mozilla, may have sudo configured to do card-based authentication using a one-time password to a RADIUS server, may also have the screensaver configured to unlock using card-based credentials (while Firefox, Thunderbird and perhaps other card-using apps are running), etc. On my system I can easily run six different applications that all need to use the card, but, of course, it's imperative that no other user on the system be allowed to use the card. I need the card to be restricted to a user, not an application. It seems to me that the same scenario will arise with pretty much any multi-application card. Shawn. _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
