codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Login page authentication  sireesha at 07:04 on Thursday, September 21, 2006
 

Hi friends,

Iam a new member of this site.i dont know javascript r HTML that much.Now i have a requirement to crate a login page in HTML or Javascript with password protection.

Once the user has entered my userid and password then i want to store all these details in the database by protecting(encrypting) their passowrds.So when the next time same user logins i can validate the particular user details from the database.How should i do coding in HTML or Javascript.For this kind of requirement which database i can use? and which one will be secure to do coding either in HTML or JAVACSRIPT or anything else required.Please help me out.


Waiting for ur precious replies

Thanks in Advance.


Regards
sireesha




  Re: Login page authentication  S_Flex at 12:10 on Thursday, September 21, 2006
 

this link talkes about a javascript login and has a js code that works with more then one password.
http://www.codetoad.com/forum/15_26454.asp

just like the page of the link states. Javascript isnt the best for user authentication.

I could show you how its done in Perl with SQL or Flat-File, witch is one of the better codes to use for authentication of multiple users.

  Re: Login page authentication  sireesha at 13:49 on Thursday, September 21, 2006
 

Hi flex,

Thank u for ur reply. I have one more doubt.As per my requirement i have to protect the passwords by encrypting it.Which methods should i use to encrypt and decryption without any intruders problem. I have seen the SHA-5 and some thing like MD-5 hashing methods.but i didnt understand that much.

As per my requirement there will b n number of users and for all these users i have to encrypt the passwords.how should i do coding for this? and where can i store all these passwords , how should i do validation. Please help me out.

Appreciate ur help.


regards
sireesha

  Re: Login page authentication  S_Flex at 15:22 on Thursday, September 21, 2006
 

Well you can make it all yourself or use a free web portal system that would have eveything you need Like.

YAWPS - My personal favorite, but it has bugs (i have the fixes for) and no support from the developer.
http://yawps.sourceforge.net/

WebAPP - I personaly dont like the style they code in, when i was a member i had a feeling to not trust them and now there developers are fighting over a source code issue (something about stolen code).
http://www.web-app.org # this group was the origanal maker of the code but then they broke up and moved to .net. now from what .net people say. The .org is back online and has stolen codes from .net
http://www.web-app.net # Personaly I dont trust eather of the two sites, But they have good support for there code.

Also PHP has many Free Web portals like PHPNuke, http://www.vbadvanced.com/ , and more!

If you still want to make your own, First pick what lang you want to code in. Javascript would not be the one to use for user authentication.
Find or ask for code examples and make it. Encrypting the passwords is not realy needed for a flat-file or SQL database, just as long as the database is secure. But if your code uses cookies it would be a good idea to use encryption on the password, so the users cookie dosnt reveile the raw password.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  perl cgi and html links
•  Re: bar graphs
•  Perl Developers Guide
•  Submitting a parent form from a child window in IE 7
•  combo box
•  Problem in comiling
•  New to C++ need help
•  Re: Auto Mail Notification
•  Re: array copy


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007