Solved

How to Protect Password/Username on ServerSide ASP.Net

Posted on 2011-02-16
2
951 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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
crm development 2 35
Code enhancement 5 12
Your suggestions for a Wordpress Theme 2 17
Achieve json result 2 28
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

743 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

16 Experts available now in Live!

Get 1:1 Help Now