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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:02:10+00:00 2026-05-20T15:02:10+00:00

I read many and many and many articles on WCF security etc… but i’m

  • 0

I read many and many and many articles on WCF security etc…
but i’m really confused on what is the best method to protect my software.

Problem: my client software [CS] has to call my webservice [WS].
CS calls functions in WS many times during it working time because when an user click on a item on a list, user want to see some detailed information that are stored on my server and that are updated frequently. Adding to this CS send to WS many information during runtime to update some stats (and check the license is OK).

why implement security:
– CS will have a paid subscription to use it, so i have to protect againt piracy.
– WS send to CS hot informations that no one else have to take.
– CS sent hot information to WS. WS store it and i want to avoid malicious information are sent by “Man in the middle”

obviously i want each message sent/received is UNIQUE so no one can send again a message to WS.

Request:
– Client have to ensure that WS is the official WS and not a cracked proxy/emulation of the WS
– WS have to know who is the CS sending the message, so it can validate license/subscription numbers and return results based on the account.

What is the best strategy to take?

Limits:
– Probably initially i can’t buy a valid SSL certificate (but i will if someone buy my subscription)
– WS will be on a shared windows hosting (so i think NO SSL)

i’ve read about Transport Security, Message security and hybrid of those. but what property to set? what authentication method use? “Certificate x.509”? “Secure Token Service”? “Username”?

thanks to all!

UPDATE:
Thanks JonoW!
Ok, i can afford a VPS… but not a real certified Certificate… i think i don’t need a real certificate.
to validate the license i can make the CS send a processed serial derived from hardware serials… i just only need a client don’t use the software at the same time on multiple PC.
so if someone clone/stole credentials of another user i will block the account or i will reset the user password automatically.

The problem is just avoid that someone emulate “this username/password/serial have a valid license” message of my WS and sending it from a fake WS and avoid someone send malicious data to my WS impersonating another client… do you think SSL and Verisign certificate is the only way? Why “Secure Token Service” or “Username/Password” isn’t a good idea?

  • 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-20T15:02:11+00:00Added an answer on May 20, 2026 at 3:02 pm

    Using X.509 certificates with WCF would probably help you achieve most of what you want, but that still means buying a certificate from a certificate authority. It also means the clients would need to install certificates on their end, which may not be a reasonable thing to ask them to do.

    Using SSL means you can trust that data hasn’t been tampered with in transit, and you can trust that data from the WS is genuine, but the WS won’t be able to guarantee that data sent from the CS is definitely from that licensed client, you will need some other mechanism for that.

    As for using SSL on a shared host, it depends on the host obviously, some may allow it. Maybe consider using a VPS?

    Update

    Why “Secure Token Service” or
    “Username/Password” isn’t a good idea?

    Both these solutions will prove to the WS that the client is a valid user, but the client can’t guarantee that the WS is the genuine WS. I.e. a hacker could change DNS settings to route traffic intended for the WS to their own server, to respond that a user/license is valid, even if it’s not. That’s where SSL helps, because the client knows that the SSL cert is genuine (this is done for you by .Net), then if data that can be decrypted from the WS, using the SSL cert, it MUST have come from the WS, and not a “fake” WS.

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

Sidebar

Related Questions

I've read many different articles/threads on this, but have yet to determine the best
I have read many articles regarding layout, but I am still quitely confused. My
I've seen many many articles on how to read XML into a JTree but
I read many articles about unsafe functions like strcpy, memcpy, etc. which may lead
I've read many articles, but I'm not quite sure what is correct today. I
I've read many articles on how to create transparent labels but it seems to
I am interested in changing the structure folder. I have read many articles, but
I have read many articles about vertical centering but I’m afraid not many of
I've read many articles and several post (including here in stackoverflow) but do not
I read many articles to understand Java servlet but I did not succeed. Can

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.