A alfaiz678 Active Member Licensed User Today at 7:34 AM #1 I am currently using to connect to mysql database on the serverThe previous solution is via php https://www.b4x.com/android/forum/threads/http-login-example-using-httputils2.50038/#post-312403 currently I want to know the difference between these two solutions in terms of security and requirements as the latter did not understand it very much and excuse me thank you https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/
I am currently using to connect to mysql database on the serverThe previous solution is via php https://www.b4x.com/android/forum/threads/http-login-example-using-httputils2.50038/#post-312403 currently I want to know the difference between these two solutions in terms of security and requirements as the latter did not understand it very much and excuse me thank you https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/
aeric Expert Licensed User Longtime User Today at 9:16 AM #2 alfaiz678 said: in terms of security Click to expand... It is a never ending story and no one bulletproof solution on security. You judge yourself whether it is sufficient for your use case. alfaiz678 said: requirements Click to expand... For the former, it can be hosted on shared hosting. For the latter, it needs to be hosted on VPS as you need to run java app on the server. For small or medium project, I don't think you need to worry at this stage. Last edited: Today at 9:27 AM Upvote 0
alfaiz678 said: in terms of security Click to expand... It is a never ending story and no one bulletproof solution on security. You judge yourself whether it is sufficient for your use case. alfaiz678 said: requirements Click to expand... For the former, it can be hosted on shared hosting. For the latter, it needs to be hosted on VPS as you need to run java app on the server. For small or medium project, I don't think you need to worry at this stage.
A alfaiz678 Active Member Licensed User Today at 9:19 AM #3 aeric said: It is a never ending story and no one bulletproof solution on security. You judge yourself whether it is sufficient for your use case. For the former, it can be hosted on shared hosting. For the latter, it needs to be hosted on VPS as you need to java app on the server. For small or medium project, I don't think you need to worry at this stage. Click to expand... Well on this I will continue with the previous solution php*mysqli_query but are there any commandments in this solution to get some security Upvote 0
aeric said: It is a never ending story and no one bulletproof solution on security. You judge yourself whether it is sufficient for your use case. For the former, it can be hosted on shared hosting. For the latter, it needs to be hosted on VPS as you need to java app on the server. For small or medium project, I don't think you need to worry at this stage. Click to expand... Well on this I will continue with the previous solution php*mysqli_query but are there any commandments in this solution to get some security
aeric Expert Licensed User Longtime User Today at 9:26 AM #4 The php project above is very minimum. You can use my other project for better practices. [PHP] [MySQL] [API] User Login App Web API Updates: Latest B4XPages user login client apps (using B4J server): https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/ Older project: https://www.b4x.com/android/forum/threads/b4j-mysql-api-server-key-token-and-b4x-user-login-apps.126081/... www.b4x.com If you are comfortable with PHP, you can use other frameworks such as Laravel to handle security for you. I recommend to use PDO compare to using mysqli. Upvote 0
The php project above is very minimum. You can use my other project for better practices. [PHP] [MySQL] [API] User Login App Web API Updates: Latest B4XPages user login client apps (using B4J server): https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/ Older project: https://www.b4x.com/android/forum/threads/b4j-mysql-api-server-key-token-and-b4x-user-login-apps.126081/... www.b4x.com If you are comfortable with PHP, you can use other frameworks such as Laravel to handle security for you. I recommend to use PDO compare to using mysqli.
A alfaiz678 Active Member Licensed User Today at 10:35 AM #5 aeric said: The php project above is very minimum. You can use my other project for better practices. [PHP] [MySQL] [API] User Login App Web API Updates: Latest B4XPages user login client apps (using B4J server): https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/ Older project: https://www.b4x.com/android/forum/threads/b4j-mysql-api-server-key-token-and-b4x-user-login-apps.126081/... www.b4x.com If you are comfortable with PHP, you can use other frameworks such as Laravel to handle security for you. I recommend to use PDO compare to using mysqli. Click to expand... Thank you Upvote 0
aeric said: The php project above is very minimum. You can use my other project for better practices. [PHP] [MySQL] [API] User Login App Web API Updates: Latest B4XPages user login client apps (using B4J server): https://www.b4x.com/android/forum/threads/project-template-user-login-client-b4x.161914/ Older project: https://www.b4x.com/android/forum/threads/b4j-mysql-api-server-key-token-and-b4x-user-login-apps.126081/... www.b4x.com If you are comfortable with PHP, you can use other frameworks such as Laravel to handle security for you. I recommend to use PDO compare to using mysqli. Click to expand... Thank you