0

Which language is commonly used to design a Android application & which language is most secured to protect user data ?

We have Many methods to write a solutions for problems,but how can I get most secured method... Algorithm is same & solutions are different 🙄

16th Jun 2020, 2:48 PM
Suren🇮🇳
Suren🇮🇳 - avatar
4 odpowiedzi
+ 7
The language you choose doesn't affect security or change the risk of exposing user data. You can build Android apps using many different languages. Kotlin is Google's preferred language for native development. Java is still strongly supported. C# and JS are great options for those who want to use those languages. These will also use frameworks that will work for other native app platforms.
16th Jun 2020, 3:21 PM
David Carroll
David Carroll - avatar
+ 3
David Carroll I believe the language does affect security. Consider C vs Rust. In C there is an abundance of vulnerabilites (buffer overflows, null pointers, dangling pointers, and many other goodies) that an attacker can exploit to either gain data or coerce the application to behave in some strange way, possibly exposing data. Rust on the other hand eliminates a huge class of errors and vulnerabilites. Sure, it won’t be perfectly secure, but it’s much better than C. Now, in terms of Android development, the two main languages I’m aware of are Java and Kotlin. They have a similar relationship to C and Rust, only much less extreme, but it is there. It eliminates a large source of bugs (unexpected null pointer errors), which will likely have security impact, perhaps mostly because it lets more programmer time be directed towards security fixes instead of tracking down null pointer errors. I don’t have any experience with this, so the effect could be much less than I think in which case you’re right.
17th Jun 2020, 3:51 AM
Jason Stone
Jason Stone - avatar
+ 1
Java n kotlin
16th Jun 2020, 2:53 PM
Abhay
Abhay - avatar