Showing posts with label SmartCard. Show all posts
Showing posts with label SmartCard. Show all posts

Tuesday, November 16, 2010

bench3

Use Of Flash Memory Cards

A memory card is mainly a small storage medium. It is used to store data such as text, pictures, audio and video. It is mainly used on small, portable and remote computing devices. Memory card is also known as flash memory card. They are also used to store information in computer memory. It is a fact that most of current products use flash memory. 
Though many new technologies have already been invented, but still flash memory card is most popular among all. Nowadays numbers of memory available in the market. They are SD card (secure digital card), CF card (compact flash card), the Smart Media card, Memory Stick and the Multi Media Card (MMC). These cards are available in different sizes. They are available with different storage capacities. The price of such cards depends upon its storage capacities.

These are powered with non volatile memory. It will help data to remain stable on the card. The advantage of this card is that user is not threatened by loss of power source. It doesn't need to be refreshed periodically. Since these cards are solid state media and don't have any moving part, therefore they don't suffer from mechanical difficulties. These new one are smaller in size, require less space and have higher storage capacity.

However it totally depends upon the user what type of memory card they need for their regular usage. It is a fact that consumption of memory card in increasing day by day. It reflects the requirements of consumers in various fields.

Nowadays many game consoles are making more usage of proprietary solid state memory cards. They are using it for storing data. It appears mainly as a portable hard disk available with superior advantages. Having flash memory technology makes it more durable and reliable when compared to other hard disk drives in market.

Flash memory cards helps in easy transfer of file from one system to another in a seamless manner. With flash memory user can build up their e- libraries. They can store e- books in this card and use it for further references. In this flash memory card one can easily carry different types of utility software. It can be used directly from flash drive. One doesn't need to install it in computers. More over they have lots of space I it, one can store e cards in it and send to their friend afterward. Thus it is a fabulous gift also. Another important advantage of this is that, they are available in low prices also. So it has got so many benefits for their users.
There are different sites, from where one can get information about Computer Memory. However memorysuppliers.com is the most reliable website that has different variety of cards. If any one wish to purchase a flash memory, then he can easily log on to the website and can get a flash card for him. This website is serving people with their excellent products for a long period of time.
Read More

Thursday, August 26, 2010

bench3

Accessing A Smart Card

The smart card subsystem provides several means for an application or service provider to connect to a smart card:
  • An application can call SCardConnect to connect to a card that resides in a given reader. This is the simplest way to establish communication with a smart card.
  • An application can search for a specific smart card within a given reader group. The application identifies the card by its display name, and specifies a list of readers in which the card may appear. The resource manager searches the list of readers for any cards with an ATR string that matches the named card, and returns status information to the application. The smart card subsystem never puts up a GUI or interacts with the card beyond obtaining the ATR string. It does, however, supply sufficient information for the application or a common control to be able to walk the user through locating the desired card or card type. This results in mapping the request to a specific reader, to which further I/O is directed.
  • An application can request a list of cards supporting a given set of smart card interfaces. The application can then use the list in the previous case. This allows applications to connect to cards based on their capabilities, without regard to their names.
When an application looks for a card, it supplies an array of reader names in which to look. For each reader element in the array, the resource manager supplies the following information:
  • Whether the reader is available for use by this application.
  • Whether there is a card inserted into this reader, and if so, what its ATR string is.
  • Whether the card's ATR string matches any of the requested cards' ATR strings.
The application uses the returned information to apply further filters to the cards or to prompt the user to select the desired card. Note that one or more of the returned list of readers may be opened for exclusive use by other applications, so access to this list of readers is not guaranteed.
Read More
bench3

Introducing Smart Cards To The System

Before the smart card subsystem can find a smart card, the smart card must be introduced to the system. This is typically done with a smart card setup tool provided by the card manufacturer. The tool could come as a program on a floppy disk (with the smart card), an ActiveX control available on a website, and so on.

The setup tool must provide the following pieces of information about the card:
  • Its ATR string, and an optional mask to use as an aid in identifying the card.
  • A list of smart card interfaces supported by the card.
  • A display name for the card, to be used in identifying the card to the user. In most cases, the user will supply this to the setup tool.
  • The primary service provider associated with the card (optional), to be used when accessing the card through COM interfaces.
To simplify setup tools, and to ensure the integrity of the smart card database, the smart card subsystem provides the following two functions.
  1. SCardIntroduceCardType introduces a smart card into the database and 
  2. SCardForgetCardType removes it from the database.
Read More
bench3

Smart Card Interfaces

A smart card interface consists of a predefined set of services available within a smart card, the protocols necessary to invoke the services, and any assumptions regarding the context of the services.

With respect to smart cards, the term "interface" is similar to how it is used in COM, which in turn is similar in concept to the ISO 7816/5 application identifier but with a different scope.

Each smart card interface is identified by a GUID. For example, an interface might be defined that provides biorhythm information to its holder. If a given smart card supports this service, then it may claim to support that interface GUID. Using the interface GUIDs, an application may search for a particular set of interfaces, locating any card that supports that set, to complete a task.

Although an interface has one GUID, it might be implemented differently on different cards. For example, the biorhythm interface mentioned above can have several different implementations, yet all are referenced using the same GUID. The different implementations would not change the interaction between the application and the smart card; however, the interaction between the service provider and the smart cards may differ depending on the interface's implementation.
Read More
bench3

Smart Card Readers

Readers are standard devices in a smart card system. They are controlled through drivers, and are introduced to and removed from the system through Plug and Play or through the Control Panel Devices item.

Each reader must be defined for use by the smart card subsystem. The subsystem is not responsible for any reader not specifically given to it.

Smart card readers can be divided into logical groups called reader groups. These groups can be defined by the subsystem, as well as defined by administrators and users. A reader can belong to more than one reader group

The smart card subsystem defines the following groups.
Group:
  1. SCard$AllReaders
  2. SCard$DefaultReaders
SCard$AllReaders: This group contains all the readers in the system. A new reader given to the smart card subsystem is automatically included in the system-wide reader group, SCard$AllReaders.

SCard$DefaultReaders: This default group, one for each terminal, contains all the readers assigned to the terminal that are not reserved for specific use.
Read More
bench3

Enabling Smart Card Logon With Third-Party Certification Authorities

You can enable a smart card logon process with Microsoft Windows 2000 and a non-Microsoft certification authority (CA) by following the guidelines in this article. There is limited support for this configuration, as described later in this article.

Requirements:
Smart Card Authentication to Active Directory requires that Smartcard workstations, Active Directory, and Active Directory domain controllers be configured properly. Active Directory must trust a certification authority to authenticate users based on certificates from that CA. Both Smartcard workstations and domain controllers must be configured with correctly configured certificates.
As with any PKI implementation, all parties must trust the Root CA to which the issuing CA chains. Both the domain controllers and the smartcard workstations trust this root.
Active Directory and domain controller configuration
  • Required: Active Directory must have the third-party issuing CA in the NTAuth store to authenticate users to active directory.
  • Required: Domain controllers must be configured with a domain controller certificate to authenticate smartcard users.
  • Optional: Active Directory can be configured to distribute the third-party root CA to the trusted root CA store of all domain members using the Group Policy.
Smartcard certificate and workstation requirements
  • Required: All of the smartcard requirements outlined in the "Configuration Instructions" section must be met, including the text formatting of the fields. Smartcard authentication fails if they are not met.
  • Required: The smartcard and private key must be installed on the smartcard.
Configuration instructions
1. Export or download the third-party root certificate. How to obtaining the party root certificate varies by vendor. The certificate must be in Base64 Encoded X.509 format.

2. Add the third-party root CA to the trusted roots in an Active Directory Group Policy object. To configure Group Policy in the Windows 2000 domain to distribute the third-party CA to the trusted root store of all domain computers:
  • Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  • In the left pane, locate the domain in which the policy you want to edit is applied.
  • Right-click the domain, and then click Properties.
  • Click the Group Policy tab.
  • Click the Default Domain Policy Group Policy object, and then click Edit. A new window opens.
  • In the left pane, expand the following items:
Computer Configuration
Windows Settings
Security Settings
Public Key Policy
  • Right-click Trusted Root Certification Authorities.
  • Select All Tasks, and then click Import.
  • Follow the instructions in the wizard to import the certificate.
  • Click OK.
  • Close the Group Policy window.
3. Add the third-party issuing the CA to the NTAuth store in Active Directory. The smart card logon certificate must be issued from a CA that is in the NTAuth store. By default, Microsoft Enterprise CAs are added to the NTAuth store.
  • If the CA that issued the smart card logon certificate or the domain controller certificates is not properly posted in the NTAuth store, the smart card logon process does not work. The corresponding answer is "Unable to verify the credentials".
  • The NTAuth store is located in the Configuration container for the forest. For example, a sample location is as follows: LDAP://server1.name.com/CN=NTAuthCertificates,CN=Public Key Services,CN=Services,CN=Configuration,DC=name,DC=com
  • By default, this store is created when you install a Microsoft Enterprise CA. The object can also be created manually by using ADSIedit.msc in the Windows 2000 Support tools or by using LDIFDE. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 295663 (http://support.microsoft.com/kb/295663/ ) How to import third-party certification authority (CA) certificates into the Enterprise NTAuth store
  • The relevant attribute is cACertificate, which is an octet String, multiple-valued list of ASN-encoded certificates.
After you put the third-party CA in the NTAuth store, Domain-based Group Policy places a registry key (a thumbprint of the certificate) in the following location on all computers in the domain:
HKEY_LOCAL_MACHINE\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificates
This is refreshed every eight hours on workstations (the typical Group Policy pulse interval).

4. Request and install a domain controller certificate on the domain controller(s). Each domain controller that is going to authenticate smartcard users must have a domain controller certificate.
If you install a Microsoft Enterprise CA in an Active Directory forest, all domain controllers automatically enroll for a domain controller certificate. For more information about requirements for domain controller certificates from a third-party CA, click the following article number to view the article in the Microsoft Knowledge Base: 291010 (http://support.microsoft.com/kb/291010/ ) Requirements for domain controller certificates from a third-party CA
NOTE: The domain controller certificate is used for Secure Sockets Layer (SSL) authentication, Simple Mail Transfer Protocol (SMTP) encryption, Remote Procedure Call (RPC) signing, and the smart card logon process. Using a non-Microsoft CA to issue a certificate to a domain controller may cause unexpected behavior or unsupported results. An improperly formatted certificate or a certificate with the subject name absent may cause these or other capabilities to stop responding.
5. Request a smart card certificate from the third-party CA.
Enroll for a certificate from the third-party CA that meets the stated requirements. The method for enrollment varies by the CA vendor.

The smart card certificate has specific format requirements:
  • The CRL Distribution Point (CDP) location (where CRL is the Certification Revocation List) must be populated, online, and available. For example:
[1]CRL Distribution Point
Distribution Point Name:
Full Name:
URL=http://server1.name.com/CertEnroll/caname.crl
  • Key Usage = Digital Signature
  • Basic Constraints [Subject Type=End Entity, Path Length Constraint=None] (Optional)
  • Enhanced Key Usage =
o Client Authentication (1.3.6.1.5.5.7.3.2)
(The client authentication OID) is only required if a certificate is used for SSL authentication.)
o Smart Card Logon (1.3.6.1.4.1.311.20.2.2)
  • Subject Alternative Name = Other Name: Principal Name= (UPN). For example:
UPN = user1@name.com
The UPN OtherName OID is : "1.3.6.1.4.1.311.20.2.3"
The UPN OtherName value: Must be ASN1-encoded UTF8 string
  • Subject = Distinguished name of user. This field is a mandatory extension, but the population of this field is optional.
6. There are two predefined types of private keys. These keys are Signature Only(AT_SIGNATURE) and Key Exchange(AT_KEYEXCHANGE). Smartcard logon certificates must have a Key Exchange(AT_KEYEXCHANGE) private key type in order for smartcard logon to function correctly.

7. Install smartcard drivers and software to the smartcard workstation.
Make sure that the appropriate smartcard reader device and driver software is installed on the smartcard workstation. This varies by smartcard reader vendor.

8. Install the third-party smartcard certificate to the smartcard workstation.
If the smartcard was not already put into the smartcard user's personal store in the enrollment process in step 4, then you must import the certificate into the user's personal store. To do so:
  • 1. Open the Microsoft Management Console (MMC) that contains the Certificates snap-in.
  • 2. In the console tree, under Personal, click Certificates.
  • 3. On the All Tasks menu, click Import to start the Certificate Import Wizard.
  • 4. Click the file that contains the certificates that you are importing.
NOTE: If the file that contains the certificates is a Personal Information Exchange (PKCS #12) file, type the password that you used to encrypt the private key, click to select the appropriate check box if you want the private key to be exportable, and then turn on strong private key protection (if you want to use this feature).
NOTE: To turn on strong private key protection, you must use the Logical Certificate Stores view mode.
  • 5. Select the option to automatically put the certificate in a certificate store based on the type of certificate.
9. Install the third-party smartcard certificate onto the smartcard. How to do this varies according to Cryptographic Service Provider (CSP) and by smartcard vendor. See the vendor's documentations for instructions.

10. Log on to the workstation with the smartcard.
Read More