News for hackers. Stuff that matters.
Re:“Cookies are small text files” – what? (2009) by throwaway09223 on Saturday August 06, 2022 @01:47PM (#32370109)
The author also doesn't realize that they're still files! Putting the file in a database doesn't change its nature, it's just storing it in a relational database instead of a hierarchical one.

If you store a jpeg file in a database, is it no longer a jpeg file?

Re:“Cookies are small text files” – what? (2009) by mr_mitm on Saturday August 06, 2022 @02:12PM (#32370316)
How are they "still" files? The never have been files. They are some value that is part of the HTTP header. No one would call the HSTS value a text file, even though it's a string of printable bytes in the HTTP header that is stored somewhere on the hard drive by the browser, just like a cookie.
Re:“Cookies are small text files” – what? (2009) by throwaway09223 on Saturday August 06, 2022 @02:36PM (#32370490)
What is your definition of "file" that precludes calling these text files, files?

The word "file" has a very broad definition. HTTP/0.9 itself could be accurately described as a protocol for sending a text file as a query and receiving one in response. A basic HTTP client can be implemented by reading and writing files into netcat.

The entire HTTP header is a text file.

Re:“Cookies are small text files” – what? (2009) by pbhjpbhj on Saturday August 06, 2022 @02:10PM (#32370292)
Where would you digitally sure a JPEG that's not a database? A file system is a database. I guess arguably it's a record if its in a non file-specific database?