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

Implementing Remember PAssWord in Client Side


Hi all,

I have a Login Page whrere all Functionalities such as validations are
Done in Client Side...

I have to Implement Remember My Mail Id and PAss Word Functionality
also in Client side..

When Remember PAssWord Check Box is Checked.....

The User and Mail Id Should be Remembered Duriing The Next Login...

How could i do this in Client Side.....

Any One Please help me......

Thanks In Advance....

Sanjay

Sep 27 '06 #1
6 6040
Hi,

Charleees wrote:
Hi all,

I have a Login Page whrere all Functionalities such as validations are
Done in Client Side...

I have to Implement Remember My Mail Id and PAss Word Functionality
also in Client side..

When Remember PAssWord Check Box is Checked.....

The User and Mail Id Should be Remembered Duriing The Next Login...

How could i do this in Client Side.....

Any One Please help me......

Thanks In Advance....

Sanjay
You mean that if I visit your website, my password will be stored *in
clear text* on the client computer? You mean that if I am in an internet
café and neglect to clear the cookies before I leave, anyone can see my
credentials and use them?

I guess that you see now why security must *never* be done on the
client, but always on the server.

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Sep 27 '06 #2

Thanks Mr.Laurent ,

Actually Clients Requirement is to Perform This Remember PAssWord
Functionality on Client Side... Thats y we are suppose to do it...
Is there any way to Implement it..

Please reply as Early as Possible..

Thanks
Sanjay

Sep 27 '06 #3
Hi,

Charleees wrote:
Thanks Mr.Laurent ,

Actually Clients Requirement is to Perform This Remember PAssWord
Functionality on Client Side... Thats y we are suppose to do it...
Your client is wrong. Your task as the developer is to show your client
how wrong he is, and to explain to him what kind of problems he will
expose his site to if he uses cookies to save the user's password.
Is there any way to Implement it..
Yes, but none of them are secure.

Please reply as Early as Possible..
You post to a public newsgroup. There is no urgency. Additionally,
please quote what you reply to.
Thanks
Sanjay
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Sep 27 '06 #4
Laurent Bugnion wrote on 27 Sep 2006 in comp.lang.javascript:
>Actually Clients Requirement is to Perform This Remember PAssWord
Functionality on Client Side... Thats y we are suppose to do it...

Your client is wrong. Your task as the developer is to show your client
how wrong he is, and to explain to him what kind of problems he will
expose his site to if he uses cookies to save the user's password.
>Is there any way to Implement it..

Yes, but none of them are secure.
Generally you are right, Laurent.

However, in real cyberlife, security comes in different tastes.

Some password restricted sites are just so to comply with custom or legal
requirement, and the owner does not give a damn who gets in, or even wants
as many visitors as possible.

And, security is never absolute on internet.

That being said, I would never save a user provided password in a cookie,
but use just a [temporary] random string matching the same in the
serverside database.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 27 '06 #5

Charleees wrote:
Hi all,

I have a Login Page whrere all Functionalities such as validations are
Done in Client Side...

I have to Implement Remember My Mail Id and PAss Word Functionality
also in Client side..

When Remember PAssWord Check Box is Checked.....

The User and Mail Id Should be Remembered Duriing The Next Login...
I notice that you did not say that the "Password" also has to be
remembered. That is good. Storing passwords on the client is not a good
idea, ever.
>
How could i do this in Client Side.....
Look into using cookies. Cookies allow you to store and retrieve small
bits of text on the client machine.
>
Any One Please help me......

Thanks In Advance....

Sanjay
Sep 27 '06 #6
"Charleees" <vc********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
>
Thanks Mr.Laurent ,

Actually Clients Requirement is to Perform This Remember PAssWord
Functionality on Client Side... Thats y we are suppose to do it...
Is there any way to Implement it..

Please reply as Early as Possible..
All that was said about the foolishness of storing credentials on client is
correct.
This should be done only if customer does not truly care about security.
That said, consider a hash algorithm, that combines password with something
else, would give some semblance of security. Probably not, but think about
it.

Digression: This is the sort of case where you must decide whether you are a
professional or are hired help.
A professional is someone knowledgeable in an area, to whom a customer pays
big bucks (or rupees) to accomplish what can be done, or be told what must
not be done. Example: lawyers, doctors, accountants, programmers.
A hired hand is someone who does what customer wants whether or not that is
what customer should want. Example: project managers, programmers.

---Bruce Wisentaner
Sep 29 '06 #7

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

Similar topics

5
by: Bas Bloemsaat | last post by:
Hi, This maybe more of a Javascript question than PHP, but as it requires some understanding about what is sent over the line and what not, I assume this is the better forum to ask. I'm...
11
by: Konrad Den Ende | last post by:
I'd like to take a look at PHP but the problem is that this far, i've used Java because it doesn't require anything else from the server it's downloaded from (if compiled as an Applet, of course)....
26
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
5
by: Sun Jian | last post by:
Hi, I am trying to customize the asp.net validation to achieve the following: Upon submitting the form, client side validation will run, and it will stop at the first error detected. For...
5
by: John A Grandy | last post by:
is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a certain URL, and then pre-populate some of the...
6
by: anoop | last post by:
Hello, I want to implement client side MD5 hash for Login Control using Javascript. how do I implement this. Thank you
5
by: Simon | last post by:
I heard that we could do that by using AJAX. Could anybody share how to do it? Thanks.
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.