473,386 Members | 1,820 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,386 software developers and data experts.

Creating case-sensitive passwords

How can i go about doing case sensitive passwords w/ forms auth, vbnet and
asp.net 1.1?
I found an msdn mag article that used cast as varbinary in the sql statement
but i cant get it to work. Is the sql approach best? What other approaches
are there?

Ashok
Dec 21 '05 #1
2 1586
hi,
one of the best approaches would be to encrypt your password with a hashing
algorithm and store it in your DB, then when your user logs-in, encrypt the
password the user just entered and compare it with the one in the DB, it's
100% case sensitive and secure.

have a look there, it could help too. ;)
http://www.aspheute.com/english/20040105.asp

I hope it helps

ThunderMusic

"Showjumper" <dfgkjhdf> a écrit dans le message de news:
O4**************@TK2MSFTNGP12.phx.gbl...
How can i go about doing case sensitive passwords w/ forms auth, vbnet and
asp.net 1.1?
I found an msdn mag article that used cast as varbinary in the sql
statement but i cant get it to work. Is the sql approach best? What other
approaches are there?

Ashok

Dec 21 '05 #2
NH
Or you could compare the password the user has entered to what is stored
against his record at the database level in a stored procedure. Just cast the
stored password and the user enter password to a binary type then that will
compare the two on a case senstive basis.

"ThunderMusic" wrote:
hi,
one of the best approaches would be to encrypt your password with a hashing
algorithm and store it in your DB, then when your user logs-in, encrypt the
password the user just entered and compare it with the one in the DB, it's
100% case sensitive and secure.

have a look there, it could help too. ;)
http://www.aspheute.com/english/20040105.asp

I hope it helps

ThunderMusic

"Showjumper" <dfgkjhdf> a écrit dans le message de news:
O4**************@TK2MSFTNGP12.phx.gbl...
How can i go about doing case sensitive passwords w/ forms auth, vbnet and
asp.net 1.1?
I found an msdn mag article that used cast as varbinary in the sql
statement but i cant get it to work. Is the sql approach best? What other
approaches are there?

Ashok


Dec 21 '05 #3

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

Similar topics

4
by: Edvard Majakari | last post by:
Greetings, fellow Pythonistas! I'm about to create three modules. As an avid TDD fan I'd like to create typical 'use-cases' for each of these modules. One of them is rather large, and I wondered...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
1
by: Dixie | last post by:
I wish to add some fields to an existing table in code. I am using the following code from rkc. CurrentDb.Execute ("ALTER TABLE MyTable ADD MyNewField Text 25") This works , but I need to also set...
8
by: Nanda | last post by:
hi, I am trying to generate parameters for the updatecommand at runtime. this.oleDbDeleteCommand1.CommandText=cmdtext; this.oleDbDeleteCommand1.Connection =this.oleDbConnection1;...
5
by: Mark Rae | last post by:
Hi, In v1.x, I used to use the following code to create a case-insensitive Hashtable: Hashtable MyHashtable = new Hashtable(CaseInsensitiveHashCodeProvider.Default,...
17
by: Lee Harr | last post by:
I understand how to create a property like this: class RC(object): def _set_pwm(self, v): self._pwm01 = v % 256 def _get_pwm(self): return self._pwm01 pwm01 = property(_get_pwm, _set_pwm)
8
by: ctiggerf | last post by:
I was hopeing someone could help me out here. Been stumped on this one all day. This function 1. Checks uploaded files. 2. Creates two resized images from each (a full size, and a...
9
by: Tarscher | last post by:
hi all, I have this seemingly simple problem. I have lost a lot of time on it though. When a user selects a value from a dropdownlist (static control) a dynamic control is generated. I have...
2
by: slizorn | last post by:
hi guys, i need to make a tree traversal algorithm that would help me search the tree.. creating a method to search a tree to find the position of node and to return its pointer value basically i...
1
by: DarkGiank | last post by:
Hi, im new to csharp and im trying to create a class that can change the application database without no rewriting all connection code... but cause some reason it is not working... it tells me that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.