Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Is there any way to secure a password from prying eyes including the user themselves on Mac?

Hello,

I've recently been looking at encrypting and storing passwords/connection keys on our local platforms. I'm aware of and have been using System.Security Protect and Unprotect functions for our Windows platforms and I've been using SecureStorage for our Android and iOS platforms.

On the Mac platform, however, the only thing I've found is the SecKeyChain to store sensitive information. The issue with this is seeing the key in the keychain itself is rather simple. A user can simply open the keychain and see the password (after submitting their password). In essence my question: Is there any way to secure a password from prying eyes including the user themselves? I realize there's no such thing as perfect security, but the level I'm seeking is to hide it from anyone except the app itself. Are there Mono/Xamarin solutions for this kind of thing?

Thanks for any help!

Answers

  • mdurenmduren Member

    Did you find a solution here? I'm not aware of any built-in features for this.

Sign In or Register to comment.