|
TheEagle wrote: My asp.net 1.1 website security system depend on hashing passwords.So it is impossible to recover the password.
Yes.
You could use brute force to find a password that gives the same hash code, but there is no guarantee that it's the same as the original password.
TheEagle wrote: I think when the user forgot his password the web application should generate a password for him automatically and send it to his email so he can log again using his new password.
Yes, that is what you normally would do when the passwords are hashed.
TheEagle wrote: Could any one tell me how could I make the web application generate the password automatically?
Pick some characters by random from a string with suitable characters. I exclude characters like "Il10oO" when generating passwords.
TheEagle wrote: Is it safe to send it by email to the user?
No, it's not safe. The email is sent unencrypted over the net, and it travels through mail servers that might be possible to hack into.
It might be safe enough for your purposes, though.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: You could use brute force to find a password that gives the same hash code, but there is no guarantee that it's the same as the original password.
*grin* I didn't say this for fear of breaking his heart
Guffa wrote: It might be safe enough for your purposes, though.
Thing is, what's a more secure option ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Christian Graus wrote: Thing is, what's a more secure option ?
:: Printing it and sending it in a sealed envelope.
:: Putting it in a text file in an encrypted archive file, and send the file and the password for the file in separate mails.
et.c...
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: Pick some characters by random from a string with suitable characters
Do you mean each time picking characters by random from the same string?Doesn't this mean that some passwords will be the same?
I am too late but i will never give up
|
|
|
|
|
So what ? Do you take steps to ensure that no two passwords are the same now ? How does it matter ? It's not like users enter a password alone, they need the username as well, right ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
You are right.So I don't need to add a cloumn just a new GUID or a string to pick characters from it by random.Thank you very much and all experts who helped me in this thread.
I am too late but i will never give up
|
|
|
|
|
TheEagle wrote: Do you mean each time picking characters by random from the same string?Doesn't this mean that some passwords will be the same?
If you have a string with 30 characters and pick four characters for the password, there is a 0.00012% risk that two given passwords will be the same.
If you generate a large number of passwords, of course some will be the same, but that is not a problem. Do you have a ATM card with a four digit PIN code? Have you ever stopped to think that there are thousands of other people who have the exact same PIN code as you have?
---
single minded; short sighted; long gone;
|
|
|
|
|
hello
I the project of asp.net 2.0 .
I have to disable other controls on the page when Popup is displayed on the screen.when popup is closed controls should be enabled.
I hhave two display two different Popups depending on condition,so I can't use AJAX control ModulPoupExtender.
How to achieve this using javascript?
Please guide.
thanks.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
The main trick is that if they are server controls, you need to store their client side Id with something like
var controlId = '<%=ServerControl.ClienID%>'
Then it's just a case of
var control = document.getElementByID(controlID);
if (control)
{
control.disabled = true;
}
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
A quick way of doing it that doesn't involve loads of enabling and disabling is to add a "veil" to the page, which is basically a transparent div (or opaque - looks kinda cool!), sized to the full screen, then when you show your popup, show the veil on z-index 99, so that it's in front of everything else (except the popup window obviously) - this then stops anything behind it recieving input.
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
hi Lilly / Kaiser ,
Thank you for the reply but will you please tell me how to use this transperent div that is "Veil".
_I'm using asp.net 2.0 is it possible in this.
Please explain in a little bit detail way.
thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
i have dropdownlist which displays country names which is mapped to BLL
i want first item in that list should be "Select country name"
what i must do ?
vijaya
vijaya
|
|
|
|
|
Hi,
After binding your dropdownlist to the datasource you can explicitly insert a listitem to the dropdown list.
the following is the code.
dlst.Items.Insert( 0, "Select One" );
I hope this will help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hi
U can use a Required Field validator and set Initial Value Property to "Select country name"
So that if u select the item " Select country name " it wont select ...
I think this will useful for u
Bye
Naresh.s.s
|
|
|
|
|
Hi All,
When I Compile my web site "Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a" error message shown. Plz Help Me.
Regards:
SMK
|
|
|
|
|
Try to unistall and again install the IIS.
Gautham
|
|
|
|
|
I have Home , file, edit, format as main menu contents
for that file -> save, new, print , exit
edit -> copy, past
home
I want to clear the content page when I change the menu say from file to home menu
thank you
vijaya
vijaya
|
|
|
|
|
Hi..
I have a web server with Linux operating System in it...But i'm developing my application in ASP.net 2.0 with sql server 2000 as by database.
While hosting my site, as it doesn't support sqlserver,i'm unable to connect to the database..
Do i have to migrate to MySQL ???Or is there any option to use sql server
Plz let me know the solution...
Vijay Mesa
|
|
|
|
|
How are you hosting ASP.NET 2.0 under Linux ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi All,
I am using Rich Text Editor (JavaScript) and I need to save this Rich Text Editor Data (which is in html format) in text file.
Also I need to Save the file name in DataBase and I need to show this file in the Rich Text Editor's Text box when I come in edit mode.
Can anyone please help me...
Thanks in advance...
|
|
|
|
|
Hi...
Actually i want to add top columns Group Header...Means create goup header for col1, col2 etc...
Following are the sample code for my GRIDVIEW
<asp:gridview id="gvFinancialStatus" runat="server" autogeneratecolumns="False"
="" width="100%" datakeynames="RACK_ID" allowsorting="True" onsorting="gvFinancialStatus_Sorting">
<columns>
<asp:boundfield datafield="ROW_DESC" sortexpression="ROW_DESC">
<itemstyle width="300px" font-bold="True">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Total Budget $" datafield="COL1" sortexpression="COL1">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Actual Todate $" datafield="COL2" sortexpression="COL2">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Accruals $" datafield="COL3" sortexpression="COL3">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Total Todate $" datafield="COL4" sortexpression="COL4">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Earned Value $" datafield="COL5" sortexpression="COL5">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="%age of Budget" datafield="COL6" sortexpression="COL6">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
<asp:boundfield headertext="Expected At Comp." datafield="COL7" sortexpression="COL7">
<itemstyle width="70px" horizontalalign="Right">
<headerstyle horizontalalign="Center">
Please provide sample code so that i can incooperate in my application
Thanks
|
|
|
|
|
Hi,
I u want to create a single header which spans for more than one columns then you can use the following approach.
After binding your gridview to the datasource you can set columnspan for the cells in the headerrow.
gv.HeaderRow.Cells[0].ColumnSpan = 2;
gv.HeaderRow.Cells[1].Visible = false;
I hope this will help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hi inside my datagrid, i used templte column in that i given "dropdownlistbox"...,
If i change anything in that dropdown listbox based on that event want to be fire...,
Normally in form we have dropdownlistbox selected item change event method is there...,
But how to do inside datagrid, dropdownlistbox selected item change event fire?...,
Plz any one help me...,
Magi
|
|
|
|
|
Give the dropdownlistbox "OnSelectedIndexChanged" event...,
Then call in ur cod place
Protected Sub ddlApp_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
ur statements...
end sub
All sorrows will be forget...,When u think ur most lovable one...,
Mag,
|
|
|
|
|
I need help for speed up responcse time of asp.net pages,
My page includes Usercontrols-7,Images-60,
Is there any solution for quick download of images..?
Is Usercontrol can slow page speed?
Please give me some guidelins or help..
It's urgent.
Waiting for reply....
i learner
|
|
|
|