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 6749963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:45:09+00:00 2026-05-26T12:45:09+00:00

I am busy doing some research into using REST services with mobile applications and

  • 0

I am busy doing some research into using REST services with mobile applications and would appreciate some insight. The scenario is as follows.

Consider a web application that provides a service to users. The web application will also be the main interaction point for the users. This will be done in Grails, and secured with Spring Security.

Now, we want to provide a REST service so that users can use the service via mobile applications. Since Grails has such nice support for making the existing web application RESTful, we will use the built-in Grails support for that.

My question now is, what would be the “best” way to secure the REST service interface so that it can be use from mobile applications (native- iOS, Andriod, WM7, BB).

The information exchanged are highly sensitive, so the more secure, the better.

Thanks

  • 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-26T12:45:09+00:00Added an answer on May 26, 2026 at 12:45 pm

    We decided to split our grails project in three…

    • model-domain-project (This is the “admin” section with all the views/controller scaffolded, and all the services, domain)
    • web-app (this is the main application, controllers, views)
    • api-rest-app (this is the rest controllers)

    The model-domain-project is a plugin that it’s plugged in the web-app and the api-app, contains the domain model, services, and all the database security, transactions, etc.

    The web-app is all the html templates, views and controllers, here we are using the attributes of Spring Security

    The api-rest-app we are using grails-filters and we are using Basic-Authorization via https with a token with an expiration date…

    if the expiration date of the token is reached you will have to ask for another token with a “request-token” we sent you with the first token… (it’s more or less like oauth2)

    To get the two first tokens, you will have to confirm the device via a login with user/phone/password then you receive a key via sms that you will have to enter in the app

    Do not know if this the best way, but it’s the way we do it…

    Sometimes we are using the web-app as client and call the api-rest-app…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am busy preparing for exams, just doing some old exam papers. The question
I'm very busy write now debugging some code, so I can't cookup a complete
I'm busy implementing the wurfl api using PHP, but somehow just can't seem to
I was busy looking deeper into things like multi-threading and deadlocking etc. The book
I'm busy prototyping a training management app using the DevExpress eXpressApp framework & Domain
I'm busy building an MVC application in PHP using Kohana MVC framework, and it
Recently I've been busy with some PHP framework - completely off-topic by the way.
I've been doing some work on high memory issues, and I've been doing a
I am busy working on a project that needs a REST API to allow
I have a gui thread starting a new thread to do some busy things.

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.