473,399 Members | 2,774 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,399 software developers and data experts.

Internally creating Password in ASP.NET 2005

19
Hello everyone,

I want to ask about how to create password internally in ASP.NET web application.

Like I have a application in which administrator will create user.

And he will enter:

UserId

and Password should get internally generated for that userid.

Like now a days there are many sites which gives the password like:3wer45yuu when we submit the form.

And I want that functionality in my application.Administartor don't have to enter password for each user he will create.That's why the application have to internally generate password for that userid.

Please help me as I have to show this functionality to my guide sir on this friday(7th Dec).

Please help.I need urgent help.


Thanking you all.
Dec 6 '07 #1
1 1129
Frinavale
9,735 Expert Mod 8TB
Hello everyone,

I want to ask about how to create password internally in ASP.NET web application.

Like I have a application in which administrator will create user.

And he will enter:

UserId

and Password should get internally generated for that userid.

Like now a days there are many sites which gives the password like:3wer45yuu when we submit the form.

And I want that functionality in my application.Administartor don't have to enter password for each user he will create.That's why the application have to internally generate password for that userid.

Please help me as I have to show this functionality to my guide sir on this friday(7th Dec).

Please help.I need urgent help.


Thanking you all.
Oh wow you've left this to the last minute.


You're going to have to randomly generate a string that can be used as a password though....

I'd suggest creating an array of letters spanning from a-z-A-Z then generate a random number to pull these characters out of the array. Then create a String containing these random letters, and throw in some random numbers as well.

Please refer to this thread for more information about creating password hashes that can be stored in a database. (Please keep in mind that a password hash is one way...so if you are going to implement this, you should send emails to the users once they are created by the administrator with this initial password and allow encourage them to change it later)

-Frinny
Dec 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: MLH | last post by:
I'm supposed to set a password for the MySQL root user. The output of mysql_install_db instructed me to run the following commands... /usr/bin/mysqladmin -u root -h appserver password mynwewpasswd...
12
by: | last post by:
I know how to use a StringBuilder, which supposedly does not create a new copy of it each time you modify it contents by adding or removing text. But, I wonder how does it do that internally ? I...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
8
by: William LaMartin | last post by:
I just received my Visual Studio upgrade to 2005 and tried to create a new web site via File | New Web Site with location http. Unfortunately I received the following error: "Visual Web...
4
by: ebrastow | last post by:
Hi, I've been using PowerBuilder for 12 years (programming part time) and thought I might give VB a try. I'm using Visual Studio 2005, specifically VB. My SQL Server is SQL Server 2000 Standard,...
2
by: E C H (He of too much code) | last post by:
I am very weak in VB.NET, I am using VB.NET 2k5 Express. I have only created one program, and heck it was my first ;-) (URL below if it matters). I am trying to create a program that stays...
2
by: astolpho | last post by:
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output: ...
0
MrMancunian
by: MrMancunian | last post by:
How to create a database connection without using wizards Introduction I've seen a lot of questions on the net about getting data from, and saving data to databases. Here's a little insight how...
2
by: priyamtheone | last post by:
I'm trying to create a stored procedure in MSSQL Server 2005 that'll perform the following jobs: 1) Create a login. 2) Create an user in TestDB database for the login created in step 1. 3) Assign...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.