Secure Your Xamarin App with Fingerprint or Face Recognition

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 122

  • @stefanofioravanti709
    @stefanofioravanti709 3 роки тому +6

    Best Xamarin youtuber! You definately deserve a lot more subscribers!! Thanks a lot for all your tutorials❤️

  • @philippedoumet6073
    @philippedoumet6073 4 роки тому +1

    Your the best Xamarin teacher on youtube!

    • @jfversluis
      @jfversluis  4 роки тому

      I don’t know about that haha, but thank you!

    • @philippedoumet6073
      @philippedoumet6073 4 роки тому +1

      @@jfversluis hahahaha. Can you make a video explaining how to code entrys in mvvm? (Username, password...) it will be amaizing

    • @jfversluis
      @jfversluis  4 роки тому

      I’m not entirely sure what you mean by: code entries in MVVM? What are you trying to do? :)

    • @philippedoumet6073
      @philippedoumet6073 4 роки тому

      @@jfversluis For exemple, the input of username and password: can you make a tutorial how to use them? How to verify if the password is correct etc...

  • @Neon8128
    @Neon8128 3 роки тому +1

    Amazing video, thank you so much !
    Do you know how i could set it up so it would pop up automatically when the app starts if the user has logged in before ( some kind of remember me) ?

    • @jfversluis
      @jfversluis  3 роки тому +1

      Absolutely, I actually implemented that once. You probably want to create some kind of PIN page that you see a lot as a fallback, or just use the OS fallback mechanism. And at the start of your app just pop the authentication method. If authentication fails, stop the user from going further. If authentication succeeds, proceed like you normally would.

    • @Neon8128
      @Neon8128 3 роки тому

      @@jfversluis Thank you :)

  • @scottsuppan
    @scottsuppan Рік тому

    Gerald, love the videos - keep on making them. However, there is a flaw in plugin.fingerprint. How does one keep a pen testing script like "objection" from hooking into the EvaluatePolicy() to return a true for any biometric read (true or false)? My company has flagged this as a problem and I cannot figure out how secure this.

  • @sahanamysoregururaj8040
    @sahanamysoregururaj8040 2 роки тому

    This video is pretty amazing! I had a follow up question - In case of devices that does not support finger print, I want to authenticate an user in my app using the device pin/ pattern. We were able to do this with the KeyGuardManager earlier which is Obsolete now. would you have any recommendations? I'm looking for Xamarin native apps on all 3 platforms. Thanks in advance!

  • @jmahachi
    @jmahachi 4 роки тому +1

    Informative as always. Thank you!

  • @lhamodenys3268
    @lhamodenys3268 3 роки тому

    Really helpfull! needed to add a native servicer to my schoolproject. and have been struggling with the fingerprint scanner, but it works now! thanks a lot!

    • @jfversluis
      @jfversluis  3 роки тому

      Great to hear! Good luck with your school project!

  • @poorneshv7532
    @poorneshv7532 3 роки тому

    Hey Gerald, In the latest androdi devices faces recognition and finger print auth comes up together along with that we do have an option to use device pin by default. Is it possible to control "Use Pin" option or disable it? I am using the same library as well

    • @jfversluis
      @jfversluis  3 роки тому

      I don’t think it’s possible and you shouldn’t. What if the fingerprint reader breaks? What if, for some reason, your finger isn’t recognized? You’re locked out of the app without any means of recovery. Having the pin as a backup is a good thing

    • @poorneshv7532
      @poorneshv7532 3 роки тому

      @@jfversluis Thanks Gerald.
      Yeah makes sense.
      But I have my own app pin which is maintained at the time of login. So I am trying to bring that app specific pin instead of default device pin which comes up along with Face recognition and Finger Print.

    • @tanishaagnihotri7213
      @tanishaagnihotri7213 2 роки тому

      I have samsung and vivo(android) in which both fingerprint and facelock is provided .This is working for fingerprint lock but when I disabled fingerprint and enabled a face lock .Then this is "CrossFingerprint.Current.IsAvailableAsync(false)" return a false for faceid and technology is xamrin.Please help me on this

  • @AngeloLazzari
    @AngeloLazzari 5 місяців тому

    Hi! thank you for your video!! do you know if this nuget is compatible with MAUI? .NET 8 ? thank you!

    • @jfversluis
      @jfversluis  5 місяців тому +1

      Have a look at this one: ua-cam.com/video/3vWvrmRAKik/v-deo.html

    • @AngeloLazzari
      @AngeloLazzari 5 місяців тому

      @@jfversluis Thank you very much for your reply! Really apreciaated!

  • @julianesteves41
    @julianesteves41 2 роки тому

    Simple and amazing explanation and implementation. Thanks and I appreciate your help very much. I'm suscribing to you right now!

  • @suminh2334
    @suminh2334 3 роки тому

    Thank you for sharing 💗 And i have little question. How to only check Fingerprint? My device has Face - Fingerprint - Irises and i want choose only one.

    • @jfversluis
      @jfversluis  3 роки тому +1

      I don’t think you can force one method over the other. Not with this plug-in at least :)

    • @suminh2334
      @suminh2334 3 роки тому

      @@jfversluis Thank for replay.

    • @suminh2334
      @suminh2334 3 роки тому

      ​@@jfversluis When Fingerprint or Face Recognition invalid many time Plugin popup requie password and i choose enter password but it not working, can you help me?

  • @odishadeveloper1690
    @odishadeveloper1690 2 роки тому

    Awesome xamarin tutorial, thanks, what I need is this, thankyou very much

    • @jfversluis
      @jfversluis  2 роки тому

      Great! Now go secure those apps!

  • @ccchiao7314
    @ccchiao7314 2 роки тому

    very clear explanation, great video thanks u 😊

    • @jfversluis
      @jfversluis  2 роки тому

      Glad it was helpful! Thank you!

  • @omaralkhatib9688
    @omaralkhatib9688 3 роки тому

    great video ,but i have a question How Integrate ZK4500 Biometric Finger Print Reader for register and store fingerprint data in database? please.

    • @jfversluis
      @jfversluis  3 роки тому

      No clue, sorry :) I guess the hardware provider should have some guidance on how to use it

  • @NipunKalra86
    @NipunKalra86 3 роки тому

    Hey Gerald, Thank you for all of your Videos. Can you please give me some idea here -> I want to implement Biometric Login in my app. My Login page is a web view served from Idp. I have tried Plugin fingerprint as you did in the demo app with the XAML page, which works fine. My question to you is how to invoke device biometric from Webview if I have a button with the text "Log in with Biometric", and what information is the best practice to store in Secure Storage or any other place?

    • @jfversluis
      @jfversluis  3 роки тому

      I think you mentioned under the other video that I already answered some of your questions there. Glad you figured it out!

    • @NipunKalra86
      @NipunKalra86 3 роки тому

      ​@@jfversluis Yes and thank you again. As I am progressing with my implementation I am finding new interesting things like in Samsung where both fingerprint and face id can be set, the plugin always returns fingerprint when you try to find availability of biometric. Do you have any thoughts on it?

  • @khimacao
    @khimacao 3 роки тому +1

    Brilliant tutorial, thank you for sharing 💗

    • @jfversluis
      @jfversluis  3 роки тому +1

      Thank you for taking the time to let me know!

  • @MorningStar.Ghost.Yaldabaoth
    @MorningStar.Ghost.Yaldabaoth 2 роки тому

    Great video! is it possible to design FingerPrint Enrollment with Xamarin:capture fingerprint and faceid, save to remote database?

    • @jfversluis
      @jfversluis  2 роки тому

      Fortunately not! We don't want data like this to be sent to third parties. The data is kept on the devices and can only be verified against through the APIs on the platform. There is no way to read the actual biometric data.

    • @MorningStar.Ghost.Yaldabaoth
      @MorningStar.Ghost.Yaldabaoth 2 роки тому

      @@jfversluisthanks for the reply but I have a Task to design app to collect fingerprints data n post to a server for storage

    • @jfversluis
      @jfversluis  2 роки тому

      @@MorningStar.Ghost.Yaldabaoth I would be very careful with that. But in any case, you can’t do it with just iOS or Android devices. You’ll need additional hardware probably that allows you to do that

    • @MorningStar.Ghost.Yaldabaoth
      @MorningStar.Ghost.Yaldabaoth 2 роки тому

      @@jfversluis yes, a fingerprint scanner attached to the Android device. Hoping to get Sdk to make this work

  • @velusrinivasan4195
    @velusrinivasan4195 3 роки тому

    Hi @Gerald Is there a way to achieve the fall back mechanism for Android platform.

    • @jfversluis
      @jfversluis  3 роки тому

      I think it should do that automatically?

    • @velusrinivasan4195
      @velusrinivasan4195 3 роки тому

      @@jfversluis on multiple failed attempts the fall back mechanism works for iOS but not Android.

  • @Alex-MO69
    @Alex-MO69 10 місяців тому

    OH Yheah works very well you're awsome guy !!

  • @FeradZyulkyarov
    @FeradZyulkyarov 2 роки тому

    Thanks for preparing and sharing this video tutorial.

    • @jfversluis
      @jfversluis  2 роки тому

      You’re very welcome Ferad! Thanks for watching!

  • @kelputoo.
    @kelputoo. Рік тому

    Hi, will this work for multiple users in the same device? I would like to make a biometric device for my company amnd all my users can put their finger to enter a session. Will that work, or this is reserved only for one device?

    • @jfversluis
      @jfversluis  Рік тому

      This works based on whatever the OS provides. If you can have multiple accounts on the device then you probably can. But for instance on iOS, you can only enroll one person, so I don’t think that will work.

    • @kelputoo.
      @kelputoo. Рік тому

      @@jfversluis thanks for the fast response. I only want this to work on Android, but i cant register the fingerprint in thr app right? Needs to be in the system settings, because i can register multiple fingerprints, but i cant set who this fingerprint belongs to... Right? Sorry for all the questions

  • @Vuyiswamb
    @Vuyiswamb 2 роки тому

    Good Day Gerald , Since biometric is a form of authentication, can we store the data that is collected by the biometric in the db and use it to authenticate later on ? from the data returned , i can see any data that i can use to store . can you assist on that one ?

    • @jfversluis
      @jfversluis  2 роки тому

      You can’t, luckily. Because that would be a big security risk. The biometric data is stored on the device, the only thing this API does is verify if the saved biometric data is the same as the biometric data that is provided by the user. You can’t save the actual data

    • @Vuyiswamb
      @Vuyiswamb 2 роки тому

      @@jfversluis thanks for the reply. does this mean that if you have an application that want to authenticate against the data , it can only be data that is used when biometric was setup. So can we setup our own biometric data and store in the db for later authentication ?

    • @jfversluis
      @jfversluis  2 роки тому

      @@Vuyiswamb no, you can only authenticate users that are enrolled on that device through the OS

    • @Vuyiswamb
      @Vuyiswamb 2 роки тому

      @@jfversluis Noted. i get you now.

  • @yannicknfankou7739
    @yannicknfankou7739 3 роки тому

    You have very good tutorial today I manage to make beautiful application to Xamarin thanks to your tutorials.
    Regarding this video, is it not possible to recover the image of the fingerprint and do a special treatment with, for example, I am thinking of remote authentication.

    • @jfversluis
      @jfversluis  3 роки тому

      Thank you Yannick! Appreciate it!
      No, you can’t. Which is a good thing because that would be a big security issue :) the fingerprint data stays in the device and is only used there securely

    • @yannicknfankou7739
      @yannicknfankou7739 3 роки тому

      @@jfversluis Ok so I see there is no possibility of recovering the image (not the model) of the fingerprint of the phone.

    • @jfversluis
      @jfversluis  3 роки тому

      @@yannicknfankou7739 correct

    • @yannicknfankou7739
      @yannicknfankou7739 3 роки тому

      @@jfversluis ok

  • @madraven37
    @madraven37 2 роки тому

    Brilliant....❤❤❤❤❤❤❤❤

  • @sheikhshuaib8451
    @sheikhshuaib8451 3 роки тому

    Great Videos and great teacher. Sir, I am building an App Locker can you suggest where to start. So far I'm able to get the UserApps and SystemsApp in a Listview and also I added a toggle button(to that Listview) through which I want to lock the same selected app with PATTERN LOCK. Is It possible.
    Thanks

    • @jfversluis
      @jfversluis  3 роки тому

      Not sure what an App Locker is :) but I think you want to build a page where the user has to insert some kind of pattern, like Android, for the app to unlock?

  • @cissemy
    @cissemy 4 роки тому +1

    Great video,
    How to link the face or fingerprint to my asp.net identity users ?

    • @jfversluis
      @jfversluis  4 роки тому

      I think you can’t do it directly as you won’t receive the actual fingerprint/face data. Instead what you probably want to do is remember their login, or even better, auth token, and fill that in/refresh it in the background if the biometric authentication succeeds

    • @jmahachi
      @jmahachi 4 роки тому

      It may not be possible to get access to the hardware required for that.
      A way round it would be to create something like an Authenticator app. Your ASP.Net app will push a notification to your Authenticator app prompting you to scan your fingerprint. Just shooting out of the blue here.😁

    • @jfversluis
      @jfversluis  4 роки тому +1

      @@jmahachi I’m not sure if I follow. The only thing this does is reach into the OS APIs for fingerprint/face data and return if it matches the configured finger/face. If yes; execute any logic you like. If that logic then reaches into secure storage where a auth token or username/password is save and continue the rest of the flow, that is certainly possible.
      An Authenticator app is similar but different and is more towards two-factor authentication where as just implementing biometric verification is implement an easier way for people to authenticate and not have them enter a password on a tiny keyboard each time

  • @omaralkhatib9688
    @omaralkhatib9688 3 роки тому

    Is it possible to scan a fingerprint using my mobile phone sensor and store that data in a database?

    • @jfversluis
      @jfversluis  3 роки тому

      That is not possible. You don’t have access to the fingerprint data

    • @omaralkhatib9688
      @omaralkhatib9688 3 роки тому

      ​@@jfversluis I have ZKFinger SDK_Android in java. how I can convert it to Xamarin forms ? please do you have any idea

  • @sfisokhoza7174
    @sfisokhoza7174 2 роки тому

    Brilliant tutorial

  • @luismolina6613
    @luismolina6613 3 роки тому

    Awesome video bro. I have a question, i want to implement this authentication method to an existing responsive web page via webview so I can generate a mobile app of that page. But im not sure about the proper way to do it because that page has its own login and database logic, any suggetions?.Thanks

    • @jfversluis
      @jfversluis  3 роки тому +1

      So you just want to use the web app for authentication then? I have done something like that but it's not easy. Basically what you want to do is capture the token(s) or cookie(s) from the login and then use that for the rest of your calls in your app.

    • @luismolina6613
      @luismolina6613 3 роки тому

      @@jfversluis thanks for replying!, that´s exactly what I need. I want to use this app to connect to an existing "responsive web site" adapted to mobile just by using the fingerprint so I dont have to create a new application of it because the web site is really huge.

    • @damianomeneghetti6858
      @damianomeneghetti6858 3 роки тому

      ​@@luismolina6613 how it ended up? does your solution work? I have the same need for a customer

    • @luismolina6613
      @luismolina6613 3 роки тому

      @@damianomeneghetti6858 hey bud im still trying to figure it out, I've been busy with other stuff, do you have any clue about what to do haha?

  • @jfversluis
    @jfversluis  4 роки тому +1

    Hope no one notices that the hand scanner is the wrong way around... 😩

  • @drackkeyner
    @drackkeyner 3 роки тому

    How can I set the cancel event to do something when the fingerprint authenticator appears?

    • @jfversluis
      @jfversluis  3 роки тому +1

      Have a look at the CancellationToken parameter when you show the authentication. Should be able to do it with that

    • @drackkeyner
      @drackkeyner 3 роки тому

      ​@@jfversluis I did it with the ErrorMessage because when cancel is pressed it returns a string

  • @ruioliveira8969
    @ruioliveira8969 2 роки тому

    Great! It is working really well.

  • @mohammedshafi5034
    @mohammedshafi5034 3 роки тому

    Hi, I need to develop an Android app, wherein I need to authenticate two users on the field by Face ID & Finger print. The authentication should happen with the live server. Users data is updated every morning in the database for the service. So once the user reaches the designated area they need to open the app and confirms their identity so a one time password is issued via the app. Can this be achieved ?

    • @jfversluis
      @jfversluis  3 роки тому

      Not sure if I understand correctly but if you want them to authenticate with both Face ID and the fingerprint at the same time and on the server-side... That's not going to happen. The face and fingerprint data never leave the device to enforce security.

  • @josephtiotangco4820
    @josephtiotangco4820 4 роки тому

    Wow Thanks for Sharing!

    • @jfversluis
      @jfversluis  4 роки тому

      No problem at all! Glad you liked it!

  • @ervis.s
    @ervis.s 4 роки тому

    Great video. Thank you!

    • @jfversluis
      @jfversluis  4 роки тому

      Great! Glad you enjoyed it! Thanks!

  • @tanishaagnihotri7213
    @tanishaagnihotri7213 2 роки тому

    I have samsung and vivo(android) in which both fingerprint and facelock is provided .This is working for fingerprint lock but when I disabled fingerprint and enabled a face lock .Then this is "CrossFingerprint.Current.IsAvailableAsync(false)" return a false for faceid and technology is xamrin.Please help me on this

    • @jfversluis
      @jfversluis  2 роки тому

      Sounds like you should open an issue on the plug-in repository :)

    • @tanishaagnihotri7213
      @tanishaagnihotri7213 2 роки тому

      @@jfversluis How could I post question on its repo .In discussion section only organizers are allowed to put comments .Could you please provide me that url where I can put my question

    • @jfversluis
      @jfversluis  2 роки тому +1

      github.com/smstuebe/xamarin-fingerprint/issues

    • @tanishaagnihotri7213
      @tanishaagnihotri7213 2 роки тому

      @@jfversluis I have created the issue in its repo but I got no reply. Can you please suggest any alternative with which I will able to have faceloack also in android

  • @pn_slender1408
    @pn_slender1408 3 роки тому

    how would you disable faceId option in android?

    • @jfversluis
      @jfversluis  3 роки тому +1

      Will happen automatically since
      It’s not available on Android

    • @pn_slender1408
      @pn_slender1408 3 роки тому

      @@jfversluis it actually shows me the option to face id I had to disable it in android settings, I was testing it in my Samsung S10+. I deleted my face profile and now only shows me the option to fingerprint

    • @jfversluis
      @jfversluis  3 роки тому +1

      @@pn_slender1408 oh interesting! Didn’t know Android has that now too. I was looking quickly over the plug-in, I don’t think there is a way to specify one or the other since there haven’t been any devices until now who have both :)

  • @atifrehman1755
    @atifrehman1755 4 роки тому

    Your amazing. Thank you

    • @jfversluis
      @jfversluis  4 роки тому

      Well you’re not too bad yourself! 😄 thank you!

  • @revtane9
    @revtane9 3 роки тому

    HELP: The fallback input password when face id fails is not working i have set it as .IsAvailableAsync(true)

    • @jfversluis
      @jfversluis  3 роки тому +1

      Find the Discord server under this video, there's people that can maybe have a look over your shoulder: ua-cam.com/video/ohRDUzh2Y6M/v-deo.html

    • @revtane9
      @revtane9 3 роки тому

      @@jfversluis Thanks

    • @swailers
      @swailers 3 роки тому

      @@revtane9 did you get any solution ? I have the same Issue with face recognition in huawei and xiamoni IsAvailableAsync is always false in those phones

  • @AMIRKHAN-dm2fm
    @AMIRKHAN-dm2fm 2 роки тому

    this plugin working with MAUI or not?

    • @jfversluis
      @jfversluis  2 роки тому +1

      There is a preview out that works with .NET MAUI

    • @AMIRKHAN-dm2fm
      @AMIRKHAN-dm2fm 2 роки тому

      @@jfversluis thanks

  • @muhammadyaseen1418
    @muhammadyaseen1418 4 роки тому

    👍👍👍Nuclear Like... to your video ...

    • @jfversluis
      @jfversluis  4 роки тому +1

      Woohoo! Thank you! Massive likes back!

  • @감생이-l6k
    @감생이-l6k 4 роки тому

    Thank you~~

  • @diyasentertainmentvlogs4308
    @diyasentertainmentvlogs4308 3 роки тому

    Face ID will work for android ?

    • @jfversluis
      @jfversluis  3 роки тому

      If only... No, unfortunately this doesn't make Face ID work with Android. The hardware on the phone and OS has to still support it. This library puts an abstraction layer on top of the authentication APIs and will authenticate through the means that are available on the device. On iOS that means Touch ID or Face ID depending on the device hardware, for Android, as far as I know, there are only fingerprint scanners

  • @ricardocosta1679
    @ricardocosta1679 3 роки тому

    Muito bom esse vídeo....

    • @jfversluis
      @jfversluis  3 роки тому +1

      Had to use some Google translate... but obrigada!