Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Re: CAC Card Access

    This should be easy to do in ASP.NET. I'm not sure about WinForms.

    Essentially, in ASP.NET you just need to make sure that you're site requires
    SSL and you require client certificates. When the user navigates to the
    website, then will be prompted for the certificate to send and should get
    prompted for the smart card PIN as well.

    In WinForms, you would have to come up with an authentication mechanism that
    required the smart card. This would depend a lot on how you planned to
    communicate with the server. If it is via a web services interface with
    HTTPS, then you should be able to specify a client certificate in your proxy
    class that would result in the same prompt for the smart card PIN. I'm not
    sure about that. Also, if you aren't using planning to use SSL, you'll need
    a network protocol that supports certificate auth.

    Joe K.

    "Roy" <Roy@discussions.microsoft.com> wrote in message
    news:7E5CA06A-5E0D-4276-94A6-C52329BB20C5@microsoft.com...
    > Greetings,
    >
    > I need to read a certificate stored inside a CAC (SmartCard) from both an
    ASP.NET and WinForm application to authenticate users. The CAC card is
    attached to the client computer via USB.
    >
    > Is .NET capable of this? If so, what classes accomplish this and do
    examples exist?
    >
    > Or, do I need a third party SDK?
    >
    > Thanks,
    >
    > Roy

    Joe Kaplan \(MVP - ADSI\) Guest

  2. Similar Questions and Discussions

    1. USB Card
      Hi Does anyone know of a USB pci card that will work with a ultra 10 or 30. Does Sun sell them? I haven't seen them. Thank You david michaels
    2. Which is faster - USB-enabled Lexar card with Jumpshot, or conventional USB2 card reader?
      Would like to know which is faster for transfer to PC - a USB-enabled Lexar card ("850kB/s") with a Jumpshot cable, or conventional USB2 card...
    3. [PHP] Credit card/Debit card validation
      I have a mod10 validation script written in another scripting language. I could try to convert it if you would like but I am sure that someone has...
    4. Credit card/Debit card validation
      Does anyone know of a PHP routine to validate Credit/Debit cards? I've seen some convoluted Javascript scripts but want a PHP version so validation...
    5. usb pc card and 8.6
      In <20030629115745.02070.00001859@mb-m23.aol.com> GGMiv wrote: Mac drivers. -- Serwis Usenet w portalu Gazeta.pl ->...
  3. #2

    Default Re: CAC Card Access

    Yes, setting up IIS for client certificate authentication should work fine.

    I'd try getting it working in the browser first and then getting it working
    in the WinForms code. There is a ClientCertificates property on the proxy
    class that you can set to supply the client certificate to use.

    Joe K.

    "Roy" <Roy@discussions.microsoft.com> wrote in message
    news:506406D0-9DC9-4277-899E-895DD8AA36C8@microsoft.com...
    > Thanks Joe.
    >
    > Both the winform and the webform clients connect to a web service that
    retrieves
    > data from a data base.
    >
    > client<->web service<->DB
    >
    > Also, we are required to use SSL and HTTPS.
    >
    > Your suggestion seems like it would work for both of them if I can figure
    it
    > out.
    >
    > Does this mean I can setup IIS for client authentication for the web
    service URL,
    > and IIS will do do the authentication for both applications?
    >
    > Roy
    >

    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139