Safety of cookies

stevenroose's Avatar, Join Date: Mar 2009
Newbie Member
Hi,

I was wondering about the safety of using cookies.
The main question I have is: Can people add cookies to their own PC and make your browser think they are placed by a website??
I remember that, when using IE6 long time ago, the cookies were just stored in small text files and I thought, then (being 12 years of age), that I could just add one myself.

I'm not an expert of how browsers use and store cookies so I can't imagine how safe they are.

So, my main question was: Can people add cookies to their own PC and make your browser think they are placed by a website??

thanks in advance,

Steven Roose
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Yes. You'd need to know the format of the cookie though, which may be difficult to determine, but there's nothing to stop you constructing one with a text or hex editor and placing it in the appropriate directory.
0
fourthdimension's Avatar, Join Date: Jan 2009
Ambitious contributor
Quote:
Originally Posted by stevenroose View Post
Hi,

I was wondering about the safety of using cookies.
The main question I have is: Can people add cookies to their own PC and make your browser think they are placed by a website??
I remember that, when using IE6 long time ago, the cookies were just stored in small text files and I thought, then (being 12 years of age), that I could just add one myself.

I'm not an expert of how browsers use and store cookies so I can't imagine how safe they are.

So, my main question was: Can people add cookies to their own PC and make your browser think they are placed by a website??

thanks in advance,

Steven Roose
I just wrote a tutorial on this here:
http://techmafias.com/Thread-all-about-cookies
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
fourthdimension, That link is not available for Guests.
0
fourthdimension's Avatar, Join Date: Jan 2009
Ambitious contributor
Sorry. I didn't realize that. I copied it to here:
http://www.go4expert.com/showthread.php?t=16641
Although I think I posted it to the forums instead of the articles by mistake. Feel free to move it if it makes a difference.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Moved !!
0
SpOonWiZaRd's Avatar, Join Date: May 2007
Know what you can do.
You can use Firefox to edit cookies and get the add-ons from this link https://addons.mozilla.org/en-US/fir...e+edit&cat=all