We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,047 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Changing password held in the Web.config file

Hi

I currently have a username and password stored in the web.config file of my website, I want the user to be able to change his password whenever he wishes. Is there any way to update the password held in th web.config file using a text input box and a button on my admin page ?

Thanks,

Jake

2
Contributors
1
Reply
10 Hours
Discussion Span
1 Year Ago
Last Updated
2
Views
jakeb1989
Newbie Poster
1 post since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Well, the web.config file is just an XML file. You can open it and alter the contents the same way you could to any other file. You can use a regular expression or path to locate the password in the file, overwrite it and save the file again.

hericles
Veteran Poster
1,065 posts since Nov 2007
Reputation Points: 156
Solved Threads: 228
Skill Endorsements: 9

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0543 seconds using 2.67MB