Serwer terminali Winflector - alternatywa dla aplikacji Zdalny Pulpit, Citrix XenApp

Forum > Product technical support > Access to a local Smart Card device over internet

Autor: PauloPin00
Data: 2014-12-16 14:01:43

Hello,

our applications can connect to a smart card device and read the card contents. We use it to read the "Cartão do Cidadão" (Portugal Citizen Card).

The Smart Card device is attached to an usb port and our application use the SmartCard Service (SCardSvr) to connect to.

If we use our application connected to the winflector server in a local network it works fine.

If we use our application connect to the winflector server over the internet it doesn't work unless at the same time we have a RDP connection to the same server configured to allow local Smart cards.

FYI this RDP connection can to be in the same PC as the application or not. It just need one RDP connection somewhere to work.

 

Can we configure the Winflector Server somehow?

Best Regards,

Paulo Pinheiro

 

Autor: Bozena (staff)
Data: 2014-12-17 13:52:44

How the application communicates with SCardSvr?

Does the service SCardSvr run on all workstations equipped with a smart card device?

 

Autor: PauloPin00
Data: 2014-12-18 19:33:08

We use the Windows API (Winscard.dll) to communicate as described in http://msdn.microsoft.com/en-us/library/windows/desktop/aa379479(v=vs.85).aspx

 

Yes, the service SCardSvr run on all workstations equipped with a smart card device.

 

I attached an image of the SCardSvr service and a print from a small sample i created. If you want i can send it by e-mail. It's 5MB.

 

Autor: PauloPin00
Data: 2014-12-18 20:40:34

In the first message i said that

«If we use our application connected to the winflector server in a local network it works fine.»

but i was wrong (sorry if this misled you).

This has the same problem, only works with an RDP connection active.

 

Autor: Jacek (staff)
Data: 2014-12-22 14:46:21

Yes, it was really misleading, so additional questions.

At this moment we do not support mapping of USB ports.

The suggested way to make SdCards visible from application is using Winflector RPC calls (TApiSyncRPC). You can write your own DLL containing functions necessary for SdCard access, put it on the client and then call these function from application using TApiSyncRPC() funcion. For more informarion about using Winflector RPC please have a look at wfprog_en.pdf documentation, testcapi example, and automatic client update feature which can be used to automatically distribute and update your DLL to client.

1


Zaloguj się aby móc pisać na forum.