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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:29:21+00:00 2026-05-22T18:29:21+00:00

We have a web-application which provides a simple Generic Http-Handler (ASP.NET) for providing an

  • 0

We have a web-application which provides a simple “Generic Http-Handler” (ASP.NET) for providing an easy way to get a session for a mobile-application.
Atm the whole concept/application is in a demo/alpha/test-state – so don’t throw your hands up in horror… 🙂

I realized that there are several security issues:

  • If the mobile device is connected to WLAN (as the needed sniff-routine is quite easy), you could simply sniff the Request (to get the value for username/password) and/or Response (to reuse the session somewhere else)
  • We could add some encryption/decryption, but as we are on android, anyone can unpack the .apk-file and do some reverse engineering to get the shared-key (and salt)
  • We could use https:// … but … I am interested if there’s another way… Another reason why not to choose SSL: We do not host a single web-application, so … the more applications, the more costly it will get … and, as it’s typical for companies, we do want to save money 🙂

Some side-nodes:
As we plan to give our customers a possibility to access our web-application (the handler is just a part of it) with a mobile-application, wo do not really care about publishing it on the market… But maybe this will change. So atm the plan does not include a “public give-away” of the .apk.

I already did some research on the issue “How to adapt the response, so that only the mobile-application can effectively use it” (eg How do I secure a .NET Web Service for use by an iPhone application?).

I believe that this must be a more general problem, which is not only somethig to think about if you are on android/co… So “Best Practice” may not only be limited to android (you would have the same scenario on iphone or winforms too) – it’s more about: how to deal with a remote component to execute vital functions (eg login, db-access, …)

  • 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-22T18:29:22+00:00Added an answer on May 22, 2026 at 6:29 pm

    Using a shared key in the application that will be shared by all customer is definitely not a solution.

    Actually, you can always implement your own secure protocol (using asymmetric crypto, …) or using other protocol (secure RPC, IPsec, …) but actually SSL is far the lighter solution (both the protocol and the implementations) for a such use. Additionally, as it is very common, it is really easy (= cheap) to deploy and current implementations are safe and optimized for performance.

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

Sidebar

Related Questions

I have a asp.net web application which has a number of versions deployed on
I have a web application which provides Excel files via IE 7. It requests
I have a struts2 web application which accepts both POST and GET requests in
I have the authentication portion of an ASP.NET 3.5 web application complete. I would
I have a third party .Net web application (Sitecore) which connects to an Oracle
Using JDeveloper as my IDE, I have a web application which calls services provided
I have web application which we deployed in a production . We have separate
I have a web application which contains both secure (SSL) and non-secure pages. A
I have a PHP web application which uses a MySQL database for object tagging,
I have a web-based application which is very highly reliant on jquery / javascript,

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.