Security :: Sending Passwords By Email Security Threat?

Nov 4, 2010

Having spent considerable amount of time in ASP.NET security community I would like to share this.

There are three ways of resetting and changing passwords explained at

Microsoft ASP.NET site[URL]

Step 1: Helping Users Recover Lost Passwords
Step 2: Changing Passwords
Step 3: Allowing Administrators to Change Users' Passwords

In step 1 and step 2 end user passwords are sent by an email.

In Step 3: functionality is explained where administror changing the password and sending through email msg. refer "I encourage those readers interested in this functionality to become more familiar with the code and try extending the functionality to include sending an email to the user whose password was changed. Query

Is Sending passwords by emial secure enough or best security password at all? I have implemented functionality where Admin sending passwords to end users by changing once in 3 months. End users expressed their views that sending passwords by email is not secure. When there is security threat in sending passwords by email, Microsoft security experts should not emailing passwords in above mentioned article, which is still up to date.

View 5 Replies


Similar Messages:

Security :: Password Field Cleared - Security Threat?

Jul 21, 2010

I'm having the problem of my password fields being cleared when a postback occurs on a dropdownlist selection change.

Is it a security threat to fix it with this...

protected void Password_PreRender(object sender, EventArgse)
{
(TextBox)sender).Attributes["value"]
= ((TextBox)sender).Text;
}

View 2 Replies

Security :: Reset Passwords / Create User / Recover Passwords On An Intranet

Aug 4, 2010

My issue today is that i have a MySQL Database and am using the security framework provided by the ASP.NET Membership and Role Providers...I override the default methods with my own MySQL.

Now the issue comes in when i someone would like to have their password reset. My application is running entirely on an Intranet so i cannot have their passwords emailed to them. Is there a way i can have this information displayed in any way so that the user can use it to Log Reset, Create Accounts or Recover their lost passwords on an intranet without the administrators intervention?

Recently i had an approach as follows. In my web.config<system.net><mailSettings><smtp deliveryMethod="pickupDirectoryLocation" and my location was a folder on C drive as c:/SavedPasswords. Now i understand this was such a big security threat and thats why i am looking for a better option.

I would have that folder created using my System.IO and then the Mail is dropped into that folder. Then after the process is successful, i tell the user to check into that location and Read its content.

Then there is a global variable that is set to true...meaning that the folder at c:/ has been created. then there is a Method in a certain class that once it sees this variable True, it reads the readers c:/ and deletes that folder "save" if it exists;

View 2 Replies

Security :: Change Existing Clear Passwords To Encrypted Passwords?

Aug 4, 2010

I have a small database, with a very small number of users. The passwords were stored as clear as the database was so small and held no sensitive data. The database is now to be expanded and passwords are required to be encrypted. I can change the Password Format in the web.config, but is there a way to change the existing passwords from clear to encrypted?

View 1 Replies

Security :: PasswordRecovery Sending Email Twice

Dec 24, 2010

I have a PasswordRecovery control set up on an ascx control as shown below. In some cases users have gotten two emails with different passwords sent at the same time. They're insistent that they haven't hit the button twice. I am using the CSSFriendly adapters, so I can take that off and see if it corrects the problem. Otherwise I suppose I could put this on the aspx page rather than a control.

<asp:PasswordRecovery ID="PasswordRecovery1" runat="server"

View 5 Replies

Security :: Sending A Secure Email?

Mar 11, 2010

I'm building a forgot password feature for my first secure backend.

I want to email a url containing an encrypted parameter to the user which will lead them to a password reset form that can only be accessed via the url with the encrypted parameter.

But what if the email gets intercepted?? then anyone who intercepts it will have the link to the reset page.

Is there a way I can send a secure email? I know nothing about email really. Is it even possible to send a secure email? Can I encrypt the email, will that help? But if it is encrypted then how does the recipient read it?

View 4 Replies

Security :: Sending Email For The Password Recovery?

Mar 15, 2011

I need to send an email(using SMTP) whenever the user forgets the password.....The code snippet i have is

protected
void PasswordRecovery1_SendingMail(object
sender, MailMessageEventArgs e)
{
MailMessage mm =

[Code]....

I need to call this function whenever the user clicks the Reset button...

View 2 Replies

Security :: Sending Form Data Securely By Email?

Jan 17, 2011

I'm building a website for a client on which they want site visitors to be able to fill out a form with the relevant information along with their credit card details, and when they submit the form, the information will be sent to the client in an email. This is an experimental services that they're offering so they're not interested in real time credit card processing yet. If I just zip the collected data up into a password protected zip file, and send that in an email to the client, would it be secure? Or do I have to go further than that to secure the data?

View 1 Replies

Security :: Sending More Than One Email With Username And Link In One And Then The Password In Another?

Feb 22, 2010

I was curious how some of you are sending out an email to a new user, are you sending more then one email with username and link in one and then the password in another, are you sending everything in one email, are you sending an email to the new user at all?I'm curious because my web site is not a self registering web site, Only a supervisor can create a new user and then that user gets an email. I'm trying to figure out the best way to send the new user an email with their credentials to the site.the users are outside users (vendors) though their username is created by an internal employee

View 10 Replies

Security :: Sending Email In Asp 3.5 C Sharp / Unable To Recived The Mail?

Jul 21, 2010

I am writing the code for contactus module for DNN. But i ma unable to recived the mai. what i m missing in the code.

SmtpClient smtpClient = new SmtpClient();
MailMessage mailMsg = new MailMessage();
MailAddress fromAddress = new MailAddress("friendemail@mail.com", "friend");
smtpClient.Host = "abc.mail.com";
//smtpClient.Port = 587;
smtpClient.Port = 25;
mailMsg.From = fromAddress;
mailMsg.To.Add(myaddress@mail.com");
mailMsg.Subject = "test message";
mailMsg.IsBodyHtml = false;
mailMsg.Body = "hello friend";
try
{
smtpClient.Send(mailMsg);
}
catch (Exception ex)
{
// lblstatus = "sending fail" + ex.Message;
}

View 6 Replies

Security :: Finding Tutorials For Registering And Sending An Activation Link To The User's Email Address

Feb 9, 2010

I program in vb

I was wondering if someone can direct me to a good quality tutorial on the process of registering and sending an activation link to the user's email address. I can't seem to find any useful tutorials online!

View 5 Replies

Security :: How To Stop Sending Mail When Email Format Is Wrong In Password Recovery Control

Jan 20, 2011

I want get code for how to stop sending mail when email format is wrong in password recovery control and getting error message and also how to getting error message, means how to stop that.

View 5 Replies

Security :: Which Is The Latest Encryption For Passwords

Feb 3, 2010

I am trying to encrypt my passwords and store in database..i want to know which is the latest one..

View 2 Replies

Security :: How To Change Users Passwords

Mar 7, 2010

I have been trying to change a users password, I have been using this code

[Code]....

I do not get an error during the try routine, but my problem comes that when the user goes it insert their new password (using login Control) it says that the password is wrong.. and they then can't login using either their new or old password.

All Password critria is met, web.config if set so passswordQuestion = false

View 7 Replies

Security :: How To Decrypt SHA1 Passwords

May 2, 2010

I have an asp.net page where I have used FormsAuthentication.HashPasswordForStoringInConfigFile. Encrypted password is saved in database. I have created a forgotPassword page. Where I need to send user his password. How can I decrypt it and send it to user. if SHA1 can not be decryoted what other option should I use to encrypt the passwords?

View 5 Replies

Security :: Encrypting Passwords On Client?

Nov 1, 2010

I want the login password to not be sent in plaintext (due to the risk of hijacking). I know that this can be achieved in principle using MD5 or the like, but is there a common implementation for use with Asp.Net? Of course, it's crucial that the resulting hash (?) isn't easy to decrypt. When I read various posts on this matter, some people say it's just to do a reverse on the encrypted string, so that in effect, this is totally useless.

View 6 Replies

Security :: Prevent Past Passwords From Being Used?

Jul 12, 2010

I have to make changes to some existing web applications at work to bring them inline with a new security policy.

I am using the framework 3.5 and am using the standard sql membership provider for user authentication.

When a user is changing his password, I want to prevent him using previously used passwords. What is the best and easiest way to go about this?

I was thinking a SQL table with the following columns, my problem was do I handle encryption here as they are old?

dbo.OldUserPasswords
UserID, GUID, NOT NULL, FK Reference to aspnet_Users.
Password, nvarchar(256) NOT NULL,
Timestamp, timestamp, NOT NULL

View 5 Replies

Security :: Is There A In Built Function To Hash Passwords

Apr 22, 2010

Is there a in built function in ASP.NET to hash passwords??

View 5 Replies

Security :: Best Way To Store Passwords In MS SQL 2005/2008?

Feb 1, 2011

I need to store passwords provided by the user. Yes, passwords. I could not use Hashes because I need to supply the password to another external service for authentication, and therefore I need to have the password.

What is the best and most secure way to store the passwords? As the external data provides private data it is of course very important that the password in my MS SQL DB is stored as safe as possible.

View 5 Replies

Security :: Embedding Plain-text Passwords?

Nov 19, 2010

I'm looking to create my application as secure as possible. Now I have following line of code:

[Code]....

As you can see, my password is in plain-text in the code. Now, I presume it's easy to decompile a code using a tool and getting your hands on the password. Since these are my AD Admin-credentials this is not that good.The AuthenticationTypes are secure, I think. They encrypt the data before sending it to the network.So there's just the problem of the plain-text password. I've searched for it on Google but can't find the proper solution. I've found alot about encrypting passwords in the web.config.

View 2 Replies

Security :: Website With Users And Passwords And Such For Authentication?

Dec 14, 2010

I've created a website with users and passwords and such for authentication.When a user is created through the "administer website" function of asp.net 4.0 where are the passwords stored? Is there a way to manually change passwords in the database?

View 3 Replies

Security :: How To Store User Names And Passwords In Web.config

Mar 8, 2010

I'm trying to find out how i store user names and passwords in the web.config file. I have tried looking for documentation on this but haven't found any so far.

I see in the class library it says that the Authenticate method of the FormsAuthentication class is for use in authenticating credentials against those stored in the config file, but i don't know how to store them there to begin with. I want to store two username:password pairs in the web.config file preferably encrypted.

one of these username:password pairs i want to be hard coded. The other i want to be able to be reset with a password reset form which I will code later. I guess there maybe a method for creating a sername:password entry in the web.config which could be used with my password reset form if such a method exists. But I need to know how to hand code the username:password entries into the web.config file to begin with and to beable to create the hard coded pair.

code I need to add to my web.config file i need to add and in what section?

also can you point me in the direction of a method used for creating username:password entries in web.config

View 6 Replies

Security :: How To Change Hashed Passwords To Clear Text

Jan 3, 2010

I setup a website to use hashed passwords with the membership provided by Asp.net. I'm looking for a way to convert all passwords to clear text. Hashed passwords are overkill for this site and many users can't figure out how to cut and paste the complex temporary password when they request a forgotten password. I understand that you can't retrieve a hashed password.

<membership defaultProvider="CustomizedProvider" userIsOnlineTimeWindow="15">
<providers>
<clear/>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
applicationName="MyApplication"
connectionStringName="MyConnString"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="false"
passwordFormat="Hashed"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"/>
</providers>
</membership>

View 4 Replies

Security :: Encrypting Passwords With T-SQL That Will Be Decrypted By Asp.net Membership Provider

Mar 4, 2011

I have been killing myself over this for a couple weeks now and cannot find a viable solution. Here's my scenario:

I have a DTSX package that imports user data from an external database. It then creates user accounts and profiles in the local database. Users can also be created via a custom ASP.NET Membership Provider. The provider must be able to authenticate both types of users.

This was all fine and dandy during development because passwords were stored as clear text. However, now that we're ready for release the passwords format of the provider must be set to encrypted and so the users created via the DTSX must be created with an encrypted password. (I'd prefer the passwords were hashed but the client's requirements are that passwords be recoverable). The real problem seems to be creating an encrypted password within the DTSX that will be decryptable by the ASP.NET Membership Provider.

My original solution was to have the DTSX call a CLR stored procedure that had access to the same encryption logic as the provider. I got it working but our client wouldn't enable CLR integration. So that's out the window. Now I'm investigating alternatives. One alternative is to simply use the built-in encryption methods of T-SQL. But how do I share the keys used for the encryption/decryption?

My question is, is it possible to generate a password in T-SQL, say using EncryptByKey, that will also be decryptable by my provider? This means that the key in SQL must match the key in my machineKey configuration.

View 2 Replies

C# - Microsoft .net Security Warning : Never Enter Personal Information Or Passwords - How To Fix It

Oct 28, 2010

So I have an ASP.net application, with an ActiveX Control which brings up a pop up

When I point to the application directly through IP there is no problem with the pop up eg. xxx.xxx.xxx.xxx/MyApp (under Default Website in the IIS -- IIS 7) Problem arises when I set up the IIS to point it to a domain [URL] which points to the above IP (under another "Site" i.e. not the "Default Site in IIS 7)

I then get this weird

Microsoft .net Security Warning Never enter personal information or passwords into a window unless you can verify and trust the source of the request.

Source: [URL]

The site is in the trusted list -- just like when I was using the IP only . Is there any setting in the IIS I need to tweak for IE to trust me fully.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved