|
Hai guys,
My web application's home page has a RememberMe checkbox.. If the user checks it, i ll store emailId and password in cookies.. My code is
if (this.ChkRememberme != null && this.ChkRememberme.Checked == true) { HttpCookie cookie = new HttpCookie...
Started by Pandiya Chendur on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It's not secure....
No! Don't store passwords in cookies!
In ASP.NET, use ownership of the account).
A good Practices for Web Applications.
It's not secure to store passwords in cookies because they are available as plain text.
|
|
Hi,
Having read this article and many others out there on how to not store passwords in databases and cookies, I'm wondering now how I should do it...
What I've come up so far (after reading around a bit) is taking the clear-text user password, padding...
Started by Buttercup on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In the database store only password hashcode, and cookie should contain session id, often called in very simple and usefull session api, use it better :)
You do not have to store the password.
|
|
Hello,
Is storing username & password of the user in a cookie a good practice? I really want to know how big websites like ( Facebook, digg, twitter ) handle this. My code is like that:
<?php $username = mysql_real_escape_string($_POST['username'])...
Started by amindzx on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: Btw, did you store the password plain text, or cookies?
If you store the data in a session ($_SESSION['username'] = 'Tom' etc.), that data ID in a cookie, either yourself or using....
Of characters) that you store in your database.
|
Ask your Facebook Friends
|
When thinking about security and user experience, what information id OK, acceptable, or even a good idea to store in a cookie?
EDIT:
With the understanding that sensitive info, like user names, passwords, SSN, credit card numbers don't belong there, ...
Started by cdeszaq on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Remember that cookies....
Email addresses stored in a db which you fetch on page load) No personal information Definitely not passwords! Or anything sensitive...
One suggestion is that you not store any keys to your database in cookies.
|
|
Hi guys,
I want to make a login system using cookies/sessions but I'm not sure what security and such is like with them.
With sessions, if "login" is set to "yes", can I trust that? Are users able to change what it returns? Should I just store the encrypted...
Started by hatter on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Your best practices with passwords are:
Store the password don't store usernames or passwords in cookies, they're sent back & forth to the server on every the user's password, encrypt it....
Client validation tells you).
|
|
I'm running Windows 7 for some time now and use Internet Explorer 8 as my main browser. What I've noticed is that it "loses" cookies A LOT! I mean it!
Typical situation:
I log in into a side checking the remember me checkbox. I reboot the computer/restart...
Started by Mikeon on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at superuser):
However, If you want to remain....
Like BlueNovember said, some sites set cookies with expiration dates.
In my experience it's normal for most sites to not let you remain logged in for more than a week .
Cookies can be set with an expiry time.
|
|
I'm looking for information about 'the best' encryption algorithm for encrypting cookies.
I hava the following requirements:
It must be fast
encrypting and decrypting the data will be done for (nearly) every request
It will operate on small data sets,...
Started by Jacco on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
There are....
So never store plaintext passwords, credit card numbers, extensive personal details remember key, allowing them to spoof the user's identity (and then probably change his password and password is not good ...
It is for.
|
|
Suppose you've got a webapp that's passing usernames and passwords around in hidden form fields.
I know it's a very bad idea, but I'm interested in enumerating why... any thoughts?
update - This is a hypothetical question.
I couldn't find a resource that...
Started by Brabster on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
But if gmail....
If I log into my gmail, and leave my desk password.
The only security risk here are passwords) to view the html source and get the user name and password.
Between that and your standard text and password fields.
|
|
Hello, I am developing a PHP-based login system. Each user has an ID(a number) and a password, which is stored as a salted hash.
I am able to figure out if a login is sucessful or not, but now I need to store that information somewhere(so that the user...
Started by luiscubal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In general I've implemented the remember me....
Also, never store passwords in sessions or cookies (even in hashed format password or even a hash of the password in session or cookie data.
Of the session.gc_maxlifetime.
|
|
I want to save user name and password in a cookie.mine is a win forms application.Please advice how can we do this.
Thanks
Started by anusha on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I would suggest using a password protected SQLite passwords !
This is not supposed....
Not cookies, cookies for web applications that usually be displayed in web browsers.
In win Forms you should use registry,files,databases....
|