Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6049965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:38:08+00:00 2026-05-23T07:38:08+00:00

Assuming I want to create an app that allows users to login. The accounts

  • 0

Assuming I want to create an app that allows users to login. The accounts are stored securely in a server. Some pages are also not visible to users who haven’t logged in yet. Can someone guide me on how to do so? So like how to deal with “sessions” and all that. How would I do that if the database online is MySQL?

On another note, to implement “OAuth” the database has to be OAuth-compatible, am I right on this? And if so, how would I use OAuth on iOS? Is there an Apple API for that?

I appreciate any help / guidance

Thank you,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:38:09+00:00Added an answer on May 23, 2026 at 7:38 am

    Let’s do this part by part:

    1. It doesn’t matter what is powering
      the server-side of things. Be it
      MySQL, Oracle, SQLite, if you have a
      dynamic language that connects to
      that DB and outputs XML or JSON
      data, you’re set.
    2. Dealing with sessions is easy. You
      can use NSHTTPCookieStorage to
      have that handled automatically for
      you. Because sessions are set via a
      cookie, any HTTP request will set
      that cookie locally and send it in
      future requests.

    3. As far as permissions go, I would do
      that validation server-side. Because
      you have the session, and you should
      know server-side wether the user is
      logged in or not, just send a list
      of pages the user can see.

    4. There are a few OAuth libraries you
      can use. The OAuth project lists a
      couple
      that seem straightforward
      enough to use. If you’re looking for
      Twitter integration however, a
      question has been asked here
      with pretty good answers.
    5. Returning to the server-side of
      things, this can be easily achieved
      using a dynamic language such as PHP
      or using the Ruby on Rails
      framework. RoR is really good in
      that aspect in the sense that you
      can quickly bring an API up by using
      its gems (Devise, OAuth2,
      etc)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i've been approached to create a bespoke ftp app that users will download in
assuming that I know the PID of a process and want to do a
I want to display a list of complex, but fixed-size multiline elements, assuming that
I am trying to create an app that will allow me to stream video
We need to have some kind of app that we can deploy to an
I want to create an application that can detect other instances of itself and
I want to create an application that will give a notification to the user
I want to create my very first web app using HTML, MySQL, PHP and
Lets say I want to create a new programming language or use some language
Is this good OO Design assuming you want every inheriting class to be a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.