Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make security while any other websit's consuming my wcf service

for ex:

am having 5 web sit's and 1 wcf service

website-1 --->access--> ok (permission granted to access) wcf
website-2 ---->access-- X (no permissions to access) wcf
website-3 --->access--> ok (permission granted to access) wcf
website-4 ---->access-- X (no permissions to access) wcf
website-5 ---->access-- X (no permissions to access) wcf

i hosted my web service on IIS (hosted in internet), here i wana give permission to access my web service to only my paid websit's(1,3) and i wana restrict other sits(unpaid or public) to consume my wcf service

by using some software we can know the webservice address link. by knowing this wcf service link we can add that service to our sit.. while adding it must hav to ask certificate prove that their are paid sit's or not


security check at client location.... when client having my wcf service link address and ready to consume my wcf service(adding service reference to their project) it must check client is paid user or public user.. if its paid user, add service reference "success full" or its public user means , adding service reference "declined due to security"

soo.. what i hav to do for this security process

thanks
Posted
Updated 7-May-13 18:39pm
v2
Comments
virang_21 8-May-13 2:01am    
One alternative to your solution is to implement login facility for WCF service and check for login credentials when outside request come to your web service... Just like how payment gateway APIs are implemented by banks...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900