[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Password protect WCF Service hosted on IIS7 public internet

Posted on 2011-03-25
4
Medium Priority
?
625 Views
Last Modified: 2012-05-11
I have a simple WCF service that I want to publish to the public internet via IIS 7. My original plan was to publish the service to iis and turn on WIndows Authentication.

But I was reading some articles on the internet about doing such a thing and it was not advised. Instead some were suggesting that you use a x509 certificate. This did not look too appealing because the amount of configuration that was needed. And does this mean that the persons consuming the service will need a certificate as well?

I just want to simply give out the url of the service along with a username and password for each user and that be that.

What is the easiest (but secure) way to accomplish this task?
0
Comment
Question by:dpbouchard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Expert Comment

by:nbove
ID: 35216795
You can do one of two methods.  You can either have all of your methods also take username and password parameters.  Or you can set up an authentication service that takes a user name and password and issues an authentication token back.  Then your methods just have to take the authentication token as a parameter.
0
 
LVL 1

Author Comment

by:dpbouchard
ID: 35217172
Not exactly what I was looking for. I am looking for some way to just put authentication on the website or the folder itself to that IIS will issue a 401 requesting authentication.

I am pretty sure I can enable Windows Authentication and make this work. I am just told that it is not very secure.

Any ideas?
0
 
LVL 1

Accepted Solution

by:
dpbouchard earned 0 total points
ID: 35233100
I resolved this issue by using a local user account to the server itself in addition to adding a ssl certificate. Thanks for the help!
0
 
LVL 1

Author Closing Comment

by:dpbouchard
ID: 35304264
Resolved issue
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question