Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
i have an android app that sends data to my web server (data is processed by php and stored in mysql db). for security reasons, i need to verify that the user sending the data is who he/she says he/she is.
i do not want to verify login/password, i would rather use the phone's registered (account manager) google account with something like federated login. i played around with nick johnson's example for GAE, but it is specific for GAE based apps and does not permit integration with my own server API's, therefore authentication does not work (i get a google authToken, but it is meaningless for my server API).
from what i understand, the safest+simplest solution would be to use OAuth.
but i am completely stumped trying to understand OAuth (i understand its concepts, but have not been able to find any example that i could implement).
does anyone have anything like a functional example that i could play around with and tweak for my needs? thanx in advance!
when ever a user login or use your app first time , you should capture his/her device mac address, and store it to the database, and you can easily authenticate user using this mac address
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
in short: building a website form so the user can enter his information including his phone number, and i need a way to verify his phone number. Am using PHP. any simple code/widget that i could add to the page without any installation or SDKs?
been looking for a server who can help me add a widget/code to my live website so the user verifies his phone number before signing in up.
I have found a lot of servers, some can't understand their docs; they required installing SDKs, and I can't finger out how to do that on the host server! if that what it means!
others add other options with the SMS, like call or email and I don't want that.
the last one I found firebase way, but I also couldn't understand how!
OK, my question is: is there a server or a way that is only to send SMS with code and check the code? i mean even if just send SMS and i could add the code to it and verify it with the function I could write.
i think it is so easy to do, but been looking for couple days and i don't why i couldn't find what i need!
If you want to autheticate the user with a phone number you can take a look on firebase
here is the documentation:
https://firebase.google.com/docs/web/setup
Also you can watch firebase tutorials series on youtube
This question too specific and there is no exac answer.
Mostly SMS depends to local providers (for simple cases). If you get SMS plan your provider and if supporting REST API or SOAP you can use simply. This info should be in docs.
In the worst case scenario, if there is not any info you can check SDK source code and extract SMS parts then create your function or class. After all if, else, basic CRUD operations.
When you need all services (SMS, Call etc.) SDK best way doing this. Yes SDK may has a lot of dependencies and complex but you can trust.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a potential customer who's web app needs functionality for multiple (possibly thousands) of users to be able to call in to a phone number and leave a voicemail. They'd need to use some kind of "pin" number that was associated with their account. After calling in and verifying their account with their pin number, they would leave a voicemail that would then get saved in a folder with a reference to their account id and file in the database.
Then they'd log into their account and see a list of MP3's that they have recorded by calling in.
I'm not sure how to get this done. I have taken a look at the Twilio api and i'm thinking maybe its a good solution, but the docs are so intensive i'm not really able to get a good footing to provide a quote.
Any suggestions on how to get this done would be awesome. And if you're an experienced Twilio API user, I'd love to hear if anyone's done anything like this.
Thanks!
Twilio evangelist here.
There are a couple of resources I'd recommend that might help get you up and running with Twilio enough to be able to provide a quote.
So keep in mind that Twilio will help facilitate the telephony part of your app (receiving inbound phone calls, sending voice prompts the caller, letting you know when the user presses buttons on their keypad), but the rest of the app logic should be just creating a standard web app.
To get started I'd recommend walking through the inbound voice quickstart. This should only take you 15 or so minutes and will get you familiar with the basic concepts of how Twilio works (webhooks and TwiML).
Once you've worked through the quickstart, we actually have a more full feature How To that demonstrated building a simple voicemail system. You can read through that, download the code and even use it as the basis for your own system.
Hope that helps.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm a web designer.
I have a site like to a forum.
so I want to create a app for my user.
The app just show and insert my website date(mysql).
normal function
member login
member reg
post topic
reply topic
search topic
a message box function (user send user)
admin user will delete topic
maybe function
maybe I need mobile phone push message function, maybe user's topic anyone reply
I know phonegap has PushPlugin
that plugin can do that?
.
My skill just php,mysql,html,css, a little js
I can create function 1-7 in mobile version website. But I don't know how to make to a apps.
These are my case
You have any suggestions?
I should learn native app or phonegap?
if native I need learn ios and and android, I need ios version and android version
Phonegap can do the trick for the mobile app.
But since you're new to apps development, keep this piece of advice in your mind.
Data storage based apps never use direct storage on mysql, a hacker can revert your code and extract your database password and you're done for that.
always think of using API for reading data and Authentications like oAuth2 for insertions.
Good luck !
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a website that I've created using PHP, Mysql, and other (HTML, CSS, etc) and I'm looking into converting the website into a native Iphone App for the app store. I know quite a bit of Objective-C and have used X-code for a couple years but I'm confused about one aspect of it. I've never worked with databases from an app. The database that we have set up is just a good old fashion PHP and Mysql that we connect to. It holds all of the site's users and other information.
Therefore, what should I do about accessing this database on the phone? Is there a way to use Mysql or is there something else that I can use that would interact with the database separately? I know there is SQLite but does that work with Mysql or not?
Any tutorials or guides you could point me to also would be great. Thanks.
The simple answer is: don't connect an iOS app directly to the database. Think about it: you'd be embedding a username and password somewhere in the app's code, which some nefarious user will find a way to extract and exploit.
Much better way to do it: create a simple API on your website, then pass requests from mobile users through the API. Then your server handles all database connections, authentication of users, and so on, and you haven't put your database credentials in the hands of lots of unknown individuals.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
My team is going to make application in android having quizzes on mobile whose questions,options would be entered from my website. I want to be able to enable the new quiz from website end.
Going to code website in PHP. I'm good at wordpress so just wondering if I can do this in that only or not as I don't in what form I have to convert my data so that android can get it and use it in "native app"(not browser!!).
my job is only the website part I know how to make pages but don't know in what form I have to give quiz data and how to control enabling and disabling the quiz in mobile app
thanks for the help in advance...
There are several ways you can transfer data through different applications/technology.
Some ways that appear to be straight ahead to me:
The Android App can parse your generated HTML file directly and extract the questions and the options parsing the HTML tags.
The Android App can also connect to your website DB and get the information directly from that.
You can also expose your data creating a services using WebServices or ODATA, for example.
I have to say I've only ever dealt with Cordova for writing apps but if Cordova can do it...
In the app I wrote for an internal application I used an AJAX call (Cordova uses JS + HTML as its interface). My PHP server then returned a response my app could use (in my case, JSON) It sounds like this is what you want to know. Now your app team will have to tell you what format to send your response but it's possible to have apps do this.
This would have to be done in PHP(EDIT: or any other technology as such) since your team is working in PHP already. To enable/disable the "new quiz", the app would have to query the server for this information, which would come from the Database.