How to deny access if accessed from Mobile Devices/Tablets

How to deny access if accessed from Mobile Devices/Tablets

Hi,

I'm currently developing an attendance tracker application.
Is there a way to disable the application if accessed from other device aside from PC/Laptops?
Or is there a way to disable access from other device?

Thanks