Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 11th, 2003, 06:26 PM
mike6219 mike6219 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Austin, Texas
Posts: 21 mike6219 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 sec
Reputation Power: 0
Send a message via AIM to mike6219 Send a message via Yahoo to mike6219
Setting cookies for login

Hello all,

I am building my own CMS and have run across a problem. As with most CMS systems, I want to have a "Remember me" check box under my login that will create a cookie on the client side. The question I am facing is what to store in the cookie. I don't really want to store a username and password in a cookie due to security concerns. Any other ideas as to what I can do?

Thanks for your help in advance.

Reply With Quote
  #2  
Old November 11th, 2003, 11:21 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Setting cookies for login

By the fact that you are adding this feature in the first place is a security concern in it's own right. No matter what is in the cookie, anyone who uses that computer will have complete access to the account that is saved in the cookie. That then puts the security concern on the end user..."Do I want everyone and anyone who uses my computer to be able to access this site as me?" If the user does not care then what is the difference if you use the username and password in the cookie, because the end user has left the door open themselves by selecting "Remember Me". If Security is a concern, I would not offer that feature.

Reply With Quote
  #3  
Old November 12th, 2003, 08:11 PM
mike6219 mike6219 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Austin, Texas
Posts: 21 mike6219 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 sec
Reputation Power: 0
Send a message via AIM to mike6219 Send a message via Yahoo to mike6219
RE: Setting cookies for login

Thanks for the advice. I'm rethinking whether or not to do this.

Best regards!

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > Setting cookies for login


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway