473,396 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Secure Login Controls

I am currently implementing a change password screen in my site and wish
to send an email back to the user saying the password has been changed
but not send the new password in the mail, i was looking to implement a
form of confirmation and was wondering if anyone had any examples of how
to perform this.

Many thanks in advance

Stuart

*** Sent via Developersdex http://www.developersdex.com ***
May 14 '06 #1
3 1076
"Stuart Ferguson" <st**************@btinternet.com> wrote in message
news:uH**************@TK2MSFTNGP05.phx.gbl...
and was wondering if anyone had any examples of how to perform this.


Google is your friend:

http://www.google.com/search?sourcei...il%22+SendMail

Or, if you're using v2:

http://www.google.com/search?hl=en&l...il&btnG=Search
May 14 '06 #2
you can create mail template in file and pass it to RecoverPassword
control
in the template you can write some placeholders that will be replaced
with username and password

this is part of code in system.web.dll that perform replace

dictionary1.Add(@"<%\s*UserName\s*%>", userName);
dictionary1.Add(@"<%\s*Password\s*%>", password);

these are the templates for them

it is up to you if you will include password in your template

I hope this helps
Galin Iliev[MCSD.NET]
www.galcho.com

May 14 '06 #3
We have three choices and only three choices when using 2.0 Password
Recovery:

// Choice...
1.) Store and send the password as clear text
2.) Hash the password when stored in the database
3.) Encrypt the password when stored in the database

// Results...
1.) Should be out of the question for obvious reasons
2.) There is no way to send the current password. A new password will be
generated and sent using the MailDefinition configuration settings.
3.) The password must be decrypted and can be sent as clear text or mailed
as an encrypted querystring value in a link that sends the querystring back
to the page where it can be decrypted on the server. (this latter approach
is one I am considering at the moment)

I'm working my way through all of this myself right now. Its time consuming
to do all the study but it must be done to understand what is going on and
which decisions to make,when and why.

It is not easy at all to put together an elegant login, change password,
password recovery strategy that remains robust. There are several "gotchas"
that have to be discovered and then resolved using some type of compromise
that still requires us to write code to refine what the controls do not
support OOTB.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Stuart Ferguson" <st**************@btinternet.com> wrote in message
news:uH**************@TK2MSFTNGP05.phx.gbl...
I am currently implementing a change password screen in my site and wish
to send an email back to the user saying the password has been changed
but not send the new password in the mail, i was looking to implement a
form of confirmation and was wondering if anyone had any examples of how
to perform this.

Many thanks in advance

Stuart

*** Sent via Developersdex http://www.developersdex.com ***

May 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: ojorus | last post by:
Hello! I want to make a login system as secure as possible on a website I develop. * The user shall log on using a Username and a password (which is stored in a mySQL database) *The server...
6
by: Sarah Tanembaum | last post by:
I was wondering if it is possible to create a secure database system using RDBMS(MySQL, Oracle, SQL*Server, PostgreSQL etc) and web scripting/programming language(Perl, PHP, Ruby, Java, ASP, etc)...
3
by: Aaron | last post by:
Hey, I have a question about how secure the following will be.... I want to have a login form that posts to itself, so when it loads it checks if there is a username and password on the query...
18
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I...
6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
1
by: sharp2037 | last post by:
Hi Everyone, I am working on an ASP.net application and I have a homepage to which everyone visits of course and on that front page I have a user ID and password box and a login button. What...
0
by: Holly | last post by:
I copied this code that works to connect into Unix. I am looking for a way to get it to work with a secure Unix box. Anyone have any insights on how to do this? I am trying to build an sftp...
14
by: knal | last post by:
Hi there, I'm looking for a secure login script for a sort-of-community site... (PHP, MySQL, sessions, or maybe something else ... ) I know there are a lot of scripts out there, but none of them...
2
by: raknin | last post by:
Hi, I am looking for a close package of secure login and registeration written in PHP.The package that I am looking for should have the following functionality I believe this is standard...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.