|
Yep, thats basically how it works
only two letters away from being an asset
|
|
|
|
|
Don't store or pass the password, store a salted hash of the password, then when the user logs in, salt and hash the password then pass that to the database to compare.
A good article on storing passwords[^].
|
|
|
|
|
Cool, will have a look into that looks good never heard of a salted hash in my life, is it difficult to code?
|
|
|
|
|
boyindie wrote: never heard of a salted hash in my life, is it difficult to code?
Then do have a good read of that article )
There's plenty of built in .net functionality for encryption and hashing.
Bear in mind that if you do this you will never be able to retrieve the user's password if they forget it (hashing is one way) - you will have to generate a new password for them.
|
|
|
|
|
Thats not a problem, as can get them to enter registered mail and can get bit of code to generate a random password for them or set it to a default and return it to there mail?
|
|
|
|
|
I am doing an application in which i have some textboxes and 2 dropdown listes
when connecting to database and retrieving values everything works fine...
but when i click the gridview(say a row particularly,) the values in the row should populate to the corresponding textboxes..
all the values comes to textboxes... but the values to be populated to dropdownlist holds only the text of the cell content....
i need the value to be in the dropdownlist as forever till i wish to get that away...
i used the code like this...
DropDownList1.Text = GridView2.SelectedRow.Cells[1].Text.ToString();
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
Once Try this.........
DropDownList1.SelectedIndex=DropDownList1.items.indexof(DropDownList1.items.findbyText( GridView2.SelectedRow.Cells[1].Text.ToString()));
|
|
|
|
|
thanks very much honey..
this works...
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
|
Hi,
I had a usercontrol in masterpage of root project.I had a page in subproject which inherits this masterpage. how can i redirect to rootproject pages and subproject pages.For the rootproject pages i had given href in usercontrol which is present in rootproject.Then how can i call the pages that are present in subproject and from there how can i redirect to rootproject pages.Can anyone help me in this.
|
|
|
|
|
When we user a user control, we normally create ascx file, and load it using Page.LoadControl("xxx.ascx").
My question is : if I put the ascx file in the database. how I can use the UserControl? I tried to user Page.ParseControl, It doest not work.
Qun
|
|
|
|
|
what is the purpose of storing user control?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Just for easy management of ascx files,especially when a user control has many skins!
Qun
|
|
|
|
|
Hi,
How to upload files from client machine to server machine using FTP in C# ASP.net.
kamalnath
|
|
|
|
|
U can use various FTP softwares to upload ur files.Eg: CuteFTP,Filezilla etc. submit ur Host Name,UserID and password and click Connect. Then drag and drop your asp.net webapplication files(including aspx and aspx.cs) to the WebServer.
Sunil Nair
|
|
|
|
|
I need to implement Upload files option using FTP from my application with out using FTP softwares.Is there any C# classes are there to perform this task.
kamalnath
|
|
|
|
|
I think webclient class can upload files as u want.
|
|
|
|
|
Dear kamalnath,
if you are going to use the ftp method means, you can use the normal
fileupload method in you coding. But if you are trying to do some ftp
software ,then use web client class.
it is easy to send the file through the file upload method.
All The Best
Sathesh Pandian
|
|
|
|
|
Hello,
I want to use ASP.NET Membership controls (like createuserwizard component,login component,etc.) with my own database which is formed by MS SQL Server 2000. I am using C# programming language for that project. If somebody help me, I will be happy. Thank you very much.
Tahsin ATES
|
|
|
|
|
This is a company named as VAPS TECHNOSOFT, RAJAJINAGAR, BANGALORE. DONT GO TO THIS COMPANY.THE HEAD OF THIS COMANY IS VERY BAD AND CRUAL PERSON.HW DOESN'T KNOW ANY THINK ABOUT SOFTWARE INDUSTRY, HW ONLY KNOWS ONE THINK VERY WELL THAT IS , WE CAN BE LEAD ALL EMPLOYEES WITH HUGE WORK AND WITH OUT PAYMENTS. AM A OLD EMPLOYEE FROM THERE, I SAW ONE NEWS IN THIS SITE LAST WEEK, SO I RELYED IT, THAT WAS GOOD AND ALL THINKS ARE VERY RIGHT.BUT SME BLEDY IDIOTS ARE REMOVED THAT ONE FORM THIS SITE, ANY WAY AM AGAIN RELYING FOR THAT MAIL.
THIS IS VERY CHEAP COMPNAY, DONT GO THERE AND DONT WASTE UR TIME.
GOD
|
|
|
|
|
This is not what code project is intented to....
Sebastian
|
|
|
|
|
GOD
Thanks .......
But Do Post it to nay Loacl NEWSPAPER NOt here
|
|
|
|
|
It probably got deleted by users marking it down, because it's inappropriate. This is a forum for programming questions, not for broadcasting one side of a private fight.
Your spelling is a disaster. If you want to be taken seriously in this crusade ( much as I ask you to do it elsewhere ), try using a spell checker.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How to select a row in gridview without using Select Command Field?
Sunil Nair
|
|
|
|
|
You can use item command for selecting gridview
|
|
|
|