Solved

Trying to use GINA to process WIN2K smart card logon

Posted on 2003-10-31
5
554 Views
Last Modified: 2013-12-03
Hi,
    As you know, while the logon dialog is being displayed and a smart card is inserted into the reader, a PIN verification dialog will popup. I want my GINA to take over the following processes after the user input his PIN and click OK. How can I do that?
    By the way, I used Resource Tuner to check MSGINA.DLL, I failed to find the PIN verification dialog.

    Thanks a lot!

    Gunther
   
0
Comment
Question by:HGunther
  • 3
  • 2
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 9663755
0
 

Author Comment

by:HGunther
ID: 9673411
Dear jkr
    I'd like to know if Ctrl-Alt-Delete is controlled by Winlogon or MSGINA? What messages are passing by between Winlogon and GINA? Please give more info. Thanks!
0
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 9674174
Hm, the above links already cover these issues, see e.g. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/sending_messages_to_the_gina.asp

Sending Messages to the GINA

Winlogon sends messages to the GINA while dialog boxes are displayed. These messages are all encapsulated in the WLX_WM_SAS message as follows:

SAS type in wParam parameter Description
WLX_SAS_TYPE_CTRL_ALT_DEL Indicates that a CTRL+ALT+DEL key sequence was received.
WLX_SAS_TYPE_SC_INSERT Indicates that a smart card has been inserted into a compatible device.
WLX_SAS_TYPE_SC_REMOVE Indicates that a smart card has been removed from a compatible device.
WLX_SAS_TYPE_USER_LOGOFF Indicates that a user requested log-off.
WLX_SAS_TYPE_SCRNSVR_TIMEOUT Indicates that the screen saver should be run due to lack of user input.
WLX_SAS_TYPE_TIMEOUT Indicates that no user input was received within the specified time-out period.

0
 

Author Comment

by:HGunther
ID: 9675154
jkr,
    Thanks for your quick response! Could you please tell me in what GINA functions these events should be processed and how to process generally?
0
 
LVL 86

Expert Comment

by:jkr
ID: 9680315
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now