How to get notified every time a USB Token is plugged in - windows

I want to monitor in real time if a USB Token is plugged in.
My plan is to install a local application (that I'll try to develop) on my organization's PCs (Windows), this application will monitor in real time USBs ports and check if the Token is plugged in. If a user plugs his USB Token, I want to my local application to be notified.
Is this possible?

Related

Authenticating with Active Directory with Smart Card or Biometric Device

I'm working on software that runs on a shared computer in a meeting room. The computer is logged into the network with a room account.
Is there a way without requiring the user to log out of the room account, to authenticate themselves using a Smart Card or Biometric Device against Active Directory? The user needs access to network shares and possibly other Active Directory secured resources.
This video from Ignite 2018 on the Surface Hub 2 has an example of what I'm trying to do https://www.youtube.com/watch?v=lPEE-zOcnKI. At 1:09 in the video, a second user is able to authenticate herself while the first user is still logged in.
For the video, this is new features for the Microsoft Surface Hub 2.
For the computer, for now, you could not log in and authenticate the user, especially using a Smart Card or Biometric Device against Active Directory. In the same network, you could use the remote desktop connection to connect your work computer, but this way cannot be authenticated with a smart card or Biometric Device.
Maybe this feature will be considered for the computer in the future.

Using Server USB SmartCard reader

i'm running a Terminal Server (Windows Server 2012 R2)
And have a big problem accessing smart cards (in my setting German "Gesundheitskarten") on our Terminal Server in RDP Sessions. These cards are not used to provide login to a program, but to transmit data like Insurance Number, Street, Postal Code etc... to our Database.
The Problem is, that the Smart Card reader (https://www.identiv.com/products/smart-card-readers/contact-smart-card-readers/utrust-2700-r-contact-smart-card-reader) which is attached to the Server (via USB) is showing in the device manager but not accessible in an RDP Session. The manufacturers test programm says that the Smart Card Ressource Manager is NOT Running (which isn't true) which indicates the the device is not accessible.
When i logon directly on the server (without RDP) the reader works fine. (Logged in as Admin or User)
I would try to connect the reader to the client device, but there a numerous reasons against it. Just to name a few: We have all sorts of clients (Mac/Android/iOs/Windows) who need access to the reader when they are near our front desk. Mobile Devices and Macs do not support SmartCard redirection. Also the Application which reads the Cards is unknown to support the redirection setup.
(Just for clarification, i don't want to give our users direct physical access to the Server - they use the app via RDP or mainly via Remote Resources)
Is there any way to map/bind the USB Smart Card Reader to a user also in an RDP Session which is connected to the Server? Is there any group policy setting i forgot?
You have to crack WinSCard.dll and SCardSvr.dll.
Refer to this page: http://lifayk.blogspot.co.uk/2012/07/windows-smart-card-subsystem-and-remote.html
I had tested the method and it works on Windows 2012 R2 Standard and Dataceneter.

Delayed log-on into windows under domain controller

I`m trying to make the reservation system at school where all computers (windows) runs under domain. Users can book the computer to use. They logs into reservation system via credentials in AD, the task is to automatically unlock the certain computer when the reservation time is reached. Does anybody knows is that possible at all?

Invoke CNA on iOS8 device

I am working on a network controller based on Raspberry Pi 2. I have nicely working WiFi AP, DHCP server, captive portal (via DNSmasq) and a web server. The unit is fully offline, no internet access is available.
My only problem now is that users need to initiate interaction by running their browser and typing in a random domain so they are served my content.
I was searching the internet for a way to make my iPhone initiate captive network assistant, but couldn't find a way to do so on iOS 8.
Given that my network is offline with no access to the internet it is clear to me that my iPhone detected a captive portal as it presumably pings many websites in order to determine it's online status. Why doesn't it display my login screen automatically?

Check if Firefox OS is connected to WiFi for privileged apps

Is there a way for a privileged Firefox OS app to detect if the WiFi is connected to a network? I am aware of https://developer.mozilla.org/en-US/docs/WebAPI/Settings but that API is only for certified apps. All I need to do is detect whether the phone is connected to a network or is not connected.
You need to use the Network Info API, which provides you with values about the bandwidth (Mb/s estimate) and if the current connection is metered (mobile data vs Wifi).
metered should be enough to tell if the user is on wifi. There is no need to read the Settings! This API is even accessible for web apps.
Check the window.navigator.onLine property

Resources