Login / password storage in Twitter client

I know that storing such sensitive data is a bad idea. But if the application asks for a password every time it starts, it will be annoying ... I know about OAuth, but it's the same thing - the user will be interrupted by the browser (or am I mistaken?) - this point is not clear to me). I know about symmetric cryptography. But how to safely store the key inside the application?

The question is simple. (but has two parts :-)

1) Is it possible to send a login / password pair not like plain text?

and

2) If not, then why should I think about security (in my application)?

If you find a spelling letter, feel free to tell me about it.

+3
source share
2

, HTTP- use SSL api. auth, BASE64, .

, , , , - .

OAuth. , . , , , , . - , , .

+3

Windows- .NET, API (DPAPI). Windows, , , , / Windows. , , , .

DPAPI .NET ProtectedData:

ProtectedData.Protect(data, entropy, DataProtectionScope.CurrentUser);

, .

+7

Source: https://habr.com/ru/post/1722941/


All Articles