smart card authentication api

G

Guest

Hi,

I have a server app running in 2000 server. It is not web application , it
is a windows .net application written in C#.

To use my server app people used to input user name , password and domain.
Now there are some users who want to use the smart card facility instead of
manually entering the user name , password and domain name.

My client machine is not in domain.
Can i use with my application.

Can i access the smart card certificate and send it to the domain server for
authentication using the windows API.

Thanks
Y Iguchi
 
J

Jan Spooren

Hi Y Iguchi,
I have a server app running in 2000 server. It is not web application , it
is a windows .net application written in C#.

To use my server app people used to input user name , password and domain.
Now there are some users who want to use the smart card facility instead
of
manually entering the user name , password and domain name.

My client machine is not in domain.
Can i use with my application.

What client do the users use to connect to your server app?
Can i access the smart card certificate and send it to the domain server
for
authentication using the windows API.

A certificate is typically public information. Sending a certificate to the
server cannot be used to authenticate the user, because anyone could have
access to that certificate.
Typically, this is done more or less like this: Your server will need to
send a random hash to the client, which is then signed by the smart card,
using its private key. Then the client sends the signed hash and the
certificate to the server. The server can then verify that the hash was
signed with the private key corresponding to the public key in the
certificate, that the certificate was signed by the trusted certificate
authority and that the certificate has not been revoked, by consulting the
Certificate Revocation List...

Cheers,
Jan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top