Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2010, 11:26 AM
Banned
 
Join Date: Jan 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default Chapter 9 - email security

In this chapter you learn to modify the web.config file and add your email and password in order to recieive emails from the website you've created. In real life would you actually hard code your email address and password? Is there some other way to handle this? It seems that your web.config file would be open to those hosting your website and they could hack your email.

Chuck
 
Old March 20th, 2010, 12:20 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Chuck,

Yes, that's potentially true. However, quite often in a hosted scenario you don't use your private mail account, but one supplied by the host instead. That is, you specify something like localhost or SomeServerInTheirNetwork as the host which then handles mail sending for you. These servers typically just send data and as such don't expose your e-mail. Also, because they are on the local network, you often don't have to supply a user name and password. Exact options differ from host to host.

If you do need to store sensitive data, you can encrypt it:

http://msdn.microsoft.com/en-us/library/ms998280.aspx
http://forums.asp.net/t/1418785.aspx

But: what can be decrypted by software, can also be decrypted by humans....

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
ChuckASP (March 20th, 2010)
 
Old March 20th, 2010, 03:26 PM
Banned
 
Join Date: Jan 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Thanks again.

Chuck





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 9 Trying to send email out digink BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 March 5th, 2011 05:42 AM
Chapter 9 Can't send email ChuckASP BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 22nd, 2010 12:16 PM
Chapter 3 - Email List daibhidh BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 6 December 4th, 2009 06:39 AM
Chapter 14 - registry access security geoffers BOOK: Beginning VB.NET Databases 2 August 24th, 2005 04:34 AM
Chapter 1: Configuring Directory Security BonnieY BOOK: Beginning ASP.NET 1.0 4 September 3rd, 2003 10:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.