Solved

Password protect WCF Service hosted on IIS7 public internet

Posted on 2011-03-25
4
620 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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Content Page 3 64
SSRS Deployment problem 5 125
EF5 How do I stop pre-compiled views? 8 51
Difference between Leaflet and MapBox? 5 45
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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