1. MegatenFreak

    B4J Question Protecting code against decompilation and theft?

    Hi. I'm already using B4J obfuscation, which helps a lot with making decompiled code harder to follow. I was wondering if there is a technique or tool I'm missing to give my app better security. The thing is, mine is a huge app to be used in large companies, and it's a first (in terms of...
  2. james_sgp

    Android Question Data security, in remote SQL database

    Hi, I`m developing a B4X app and will be storing/accessing potentially sensitive data from a remote SQL database using PHP (I can`t use RDC, as I`m using Godaddy server). I want to make sure the data is secure, Is encrypt the data in the app and send (encryption password, would be in the...
  3. KMatle

    Android Code Snippet [B4x] Use OTP in your apps (php code also included)

    OTP is a one time pin (here: 6 digits) depending on a given password and the actual time. Usage: - additional security when a user does a login - take care of server requests (a request can be intercepted and repeated). As it depends on the date/time with OTP this isn't possible - some sort...
  4. Alexander Stolte

    iOS Tutorial Use Face ID Touch ID and Passcode

    This is a short tutorial/code snippet on how to successfully implement Touch ID in your app. Thanks to @Semen Matusovskiy for his code. You need this OBJC Code #IF OBJC #import <LocalAuthentication/LocalAuthentication.h> - (void) authenticateButtonTapped { __result = -1; LAContext...
  5. Angel Garcia

    Android Question Cleartext traffic allowed for all domains

    Hello All, Im deploying this new App in PlayStore and, in the Pre-Launch report i'm getting this "Security and trust" Error/issue: "Cleartext traffic allowed for all domains Error - Privacy Your app's Network Security Configuration allows cleartext traffic for all domains. This could allow...
  6. KMatle

    B4J Code Snippet (VPS)Servers in prod: Disable Port 22 when you don't need it

    Not a snippet, more a serious advice: Just playing with my VPS-Server in prod and I mentioned tons of login tries from guys trying to get access to the root account. My provider (IONOS, ex 1and1/1und1) offers a console where you can switch off ports by default (like a firewall before the...

    Android Question hidding strings into the code

    Hello, For security, Is it necessary, and if yes what is the best method to do for: Hidding particulary parameters or constant or var into the code, like : Public PhaRcs As String = "Mypassword" ' Password Public WebSite As String = "" ' Url Public...
  8. M

    Android Question [SOLVED] xml 'error parsing libraries'

    ...and suddenly when I reopen my project I get a lovely alert advising of a parsing error! "An error occurred. Error parsing libraries. For security reasons DTD is prohibited in this xml document. To enable DTD processing set the DTDProcessing property on XMLReaderSettings to Parse and pass the...
  9. G

    Android Question How can I use the Android Keystore System?

    Android has a way to securely store sensitive data. It is called the Keystore System. Would anyone have information on how to use this in B4A? Anyone have a library to use?
  10. alimanam3386

    B4A Library Manam RSA

    Hi guys I recently created this class for a particular project, you can use it , you can google the RSA algorithm for more information. and merry Christmas :)