Solved

How to Protect Password/Username on ServerSide ASP.Net

Posted on 2011-02-16
2
959 Views
Last Modified: 2012-06-27
I'm making a smiple web page using asp.net and vb.net (server side code) where users can ftp text files to the server.   My ftp server requires authentication.  How do I protect my password and username?  Can I just hard code them into my function statments?   What is the best practice for this.

Thanks in advance!
0
Comment
Question by:badrhino
2 Comments
 
LVL 13

Assisted Solution

by:agarwalrahul
agarwalrahul earned 250 total points
ID: 34913146
best practice is to store the username and password in database and retrieve it only at the time of authentication required by the ftp server to load file.
0
 
LVL 8

Accepted Solution

by:
Anurag Agarwal earned 250 total points
ID: 34914974
badrhino do one more thing just encrypt the passwords and keep it in database, the best practice would be suggested tht u use technique like MD5 for authentication. just google it a litle and fr ur help here are some links....
1. http://www.aspnettutorials.com/tutorials/advanced/md5-secret-aspnet2-csharp.aspx
2. http://www.codeproject.com/tips/70420/MD5-in-ASP-NET.aspx
 
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace value 2 35
Need help with another query 10 40
Political Map of Europe - Wikipedia? 4 28
How can I add google maps in vb.net. 2 24
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

696 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