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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:27:28+00:00 2026-05-28T03:27:28+00:00

I have been tasked with securing a web service that uses WCF and offers

  • 0

I have been tasked with securing a web service that uses WCF and offers web services for both Silverlight, WP7 and Android devices.

So I believe I should activate SSL and also add a form of authentication/authorization to the web service.

Now I am aware that I can turn on Windows Authentication on my web.config and in IIS that will automagically use the log in for the PC for the authentication. But I don’t know if this is the right solution to use when I am using devices outside of the intranet and specifically Android devices. I don’t want to set up to use this method of Authentication for the Android developers on our team to not be able to progress. So is this easy enough to do in Android?

When I do add the security, I found it was easy to add to a basicHttpBinding with <transport clientCredentialType="Windows" but that this doesn’t work within a customBinding. Is there something different with those?

  • 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-28T03:27:28+00:00Added an answer on May 28, 2026 at 3:27 am

    I am doing something extremely similar with my applications. For the android side, we send the device a MobileUserId – in our case, a Guid, which uniquely identifies the user. This is saved only for the session. From there, each call to the service also requires this Guid to be valid.

    For the security, your web.config should have these:

    <service name="Service.System" behaviorConfiguration="ServiceBehaviour">
    <endpoint address="" binding="webHttpBinding" bindingConfiguration="TransportSecurity" contract="Service.ISystem" behaviorConfiguration="web"></endpoint>
    </service>
    
    <bindings>
    <webHttpBinding>
    <binding name="TransportSecurity">
    <security mode="Transport">
    <transport clientCredentialType="None"/>
    </security>
    </binding>
    

    Even if you choose not to use something like a Guid, or UUID in java, you will still need some way to pass a username / password combination from the android device – it will not work with windows authentication.

    You should also probably look into REST or SOAP. I have found REST to be much easier to use, so I have preference towards it.

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

Sidebar

Related Questions

I have been tasked with securing the connection string in an classic ASP application
I have been tasked with going through a number of ColdFusion sites that have
I have been tasked with developing a solution that tracks changes to a database.
I have been tasked with creating a program that will generate an amortization schedule.
I have been tasked with building a new web project from scratch, with the
I have been tasked with developing a Firefox add-on that is capable of registering
I have been tasked with migrating an existing mature ASP.NET 2.0 web site to
I have been tasked with improving the current mess that is our JavaScript strategy;
I have been tasked to write a script that will enable tcp and named
I'm new to visual basic and have been tasked with creating an app that

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.