Solved

Anyone a security guru out there WCF question.

Posted on 2014-03-17
2
279 Views
Last Modified: 2014-04-13
Hello all,

I need some opinions on this and education really as I continue to research.    I work at a company where we have sensitive data in a core Intranet based application in-house of course.   The backend is a SQL Server database.    There is a need to expose externally to some vendors some of the data within the core system as well as 'provide' us some data we would be inserting or updating to a few tables.   We created a service layer to eventually be able to expose some of our service call methods such as gets etc. external to our application.  So I have a few questions I am concerned about and need to understand better:

- Is it good practice to have a second database that only has data relevant to the external based system to have that separation.  My thinking is this is kind of getting away with secure WCF messaging so this would be a waste of time.   If they can compromise a second database why not the first etc.   Then the idea would be replication etc. to move data back and forth to our core database.   This is the main question that came up as the core database has a lot of sensitive data.  

- Not sure where we would be 'hosting' this external application but of course it would be on the DMZ so it can be exposed.   Any thoughts or use case scenarios on this is it WCF with certificate based security etc.

Anyway I know this is a loaded question but looking to understand it better because of the personal data we need to be careful is not exposed.   I am not a WCF guru and have used in the past here and there.

Thanks for any information, links etc. you can provide.
0
Comment
Question by:sbornstein2
2 Comments
 
LVL 25

Accepted Solution

by:
apeter earned 500 total points
ID: 39936628
From the application side using below would secure your request coming in.

*  Request comes over https
*  Each request comes with a custom authentication in the header which you can share with your clients


From db level you can have this setting. This way it is like a second database, logically.
*You can create separate views for this application to get data.
* Also create a separate database user that will used in above application and they have permission only to these views.

same thing can be done in "asp.net web api"(Rest based HTTP Call), just in case if you are just starting...

Hope this gives a start.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39937450
With 4.5, the Windows Identity Foundation (WIF) was fully integrated into the framework.  The WCF Security Token Service works with certificates to sign the tokens.

WCF Security Token Service
http://msdn.microsoft.com/en-us/library/ee748498.aspx

Here is some good reading material on WCF security:

Fundamentals of WCF Security
http://www.codemag.com/article/0611051
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Cybersecurity has become the buzzword of recent years and years to come. The inventions of cloud infrastructure and the Internet of Things has made us question our online safety. Let us explore how cloud- enabled cybersecurity can help us with our b…
This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now