Solved

Provide credentials in .net application without storing in code

Posted on 2009-05-20
1
275 Views
Last Modified: 2012-05-07
Hi,
I am in the process of developing a .net business application which processes  sensitive data - the problem is that some of the users of the app are not on a domain which means I cannot use integrated security.  We have too small an IT staff to create and maintain user logins on sql server, we are running sqlserver 2005 standard edition.

I cannot store the credentials in the code, maintainability and risk are the reasons. I need a secure and easy to maintain method of providing credentials to applications. Some ideas I have would be using a udl or a web service to pass the credentials.

Can you suggest the most secure method of providing credentials, the credentials would be specific  to the applications,  when using integrated security is not possible.

Thanks in advance.
0
Comment
Question by:BradAndMindy
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 24438820
You can store the credentials in code but encrypt them.
http://www.devarticles.com/c/a/VB.Net/String-Encryption-With-Visual-Basic-.NET/

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating a route in asp.net webforms 2 25
VB.Net/LINQ: ".Contains" condition not finding existing result in MSSQL 16 35
.NET 2008 VB and C# 6 27
VB.net and sql server 4 35
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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