Slashdot Mirror


Sweden Crunches Cookies

dillkvast writes "According to this article (swedish) at ComputerSweden swedish websites must now have the user's consent to use cookies. The law also states that the user is to be informed of what the information stored in the cookie is, and its intended use. This leaves swedish website with two options: No cookies at all, or a special page where the user is informed of the cookie use and can choose to either accept or reject the cookies. This represents a huge problem for swedish sites which use .asp and .php session variables, the article states, which will have to rewrite their sites to present the user with a chance to confirm that cookie use is ok. The law comes into force today."

73 of 401 comments (clear)

  1. mostly not a problem: by Neophytus · · Score: 4, Interesting
    mostly not a problem:
    do you want to remember my password (uses cookies) (x) yes ( )no
    Most forum software has the option to use/not use cookies (and as such sessions are passed through urls) so that shouldn't be a problem either for non-lazy coders.

    Actually, scratch that, most websites will just ignore the law and get on with life.

    1. Re:mostly not a problem: by tmark · · Score: 2

      Most forum software has the option to use/not use cookies (and as such sessions are passed through urls) so that shouldn't be a problem either for non-lazy coders.

      Well, Slashdot "works" when you disable cookies until you try to post a message. Then it seems that you always post as an AC even if you entered your name and login first, and even when the preview page acknowledges your logging in.

      I'm not sure if this is a bug or an intended design "feature", but it seems that despite all the hand-wringing here about cookies, my experience is that Slashdot itself requires its users to enable cookies if they want to post as anything but an AC.

      (And if this goes out as an AC it's because of that same cookie problem).

    2. Re:mostly not a problem: by fiiz · · Score: 3, Informative

      I beg to disagree--a few posts below also re-iterate your point.

      In PHP, URL-rewrite slows things down and bloats your script. It also makes your URLs look ugly: sometimes you may want them to stick in the user's mind.
      While for a forum this may be OK, for a fairly big user-centric website it is simply ridiculous to have to do away with cookies--they are a convenient way to deal with things "behind the curtain"; they also have the added security of not being immediatly visible to the user (he has to want to see them, by looking at his filesystem or other.)

      Privacy -wise, all decent modern browsers have some form of modern cookie filtering--the user can choose to block, etc.

      The only solution I see is, as suggested below, have a front page which tells the user and gives him the choice to leave.

      All in all, I find this law a little silly, although of course I understand the privacy concern.

      --

      yours ever, fz.
    3. Re:mostly not a problem: by JRSiebz · · Score: 4, Interesting

      You're wrong.

      When you have user log-in to a particular part of the site, you need to store username, password information, and some other session variables in a cookie, so that on subpages within the part that needs to be logged into can check to see is the user is properly logged in. I like to check to see if the user is the actual user I think they are.

      I guess you've never used php before.
      Especically a for site you need to log into.
      Hope this law never passes in the US, if you dont want cookies from a site, don't go there.

      Does this low allow you to deny service to a user who doesn't accept the use of cookies?

    4. Re:mostly not a problem: by swordboy · · Score: 3, Informative

      mostly not a problem:

      do you want to remember my password (uses cookies) (x) yes ( )no


      Hardly... Have you *ever* tried to disable cookies altogether? It is difficult to get things done. Most websites will simply refuse navigation without cookies. Microsoft's idea of a "session cookie" that disappears after you leave the site was a good idea but their implentation does not work (it is the same as turning cookies off).

      While this isn't a problem for advanced users, I do build and deploy a number of PCs for friends and family. IE is a requirement because many sites are not up to speed on Mozilla yet.

      Argh...

      --

      Life is the leading cause of death in America.
    5. Re:mostly not a problem: by SmallFurryCreature · · Score: 3, Insightful
      The reason is that if a problem is left unsolved for to long, the extremer the rememedy must become. It has been tried time and time again to get websites to obey the same privacy rules as the normal world. (remember this story is in sweden, not america)

      Cookies are often over used anyway. Check youre own cookie cache and check the number that are used to track you vs the number for youre convenience. (like slashdot remembering youre login). For me at least the first category by far outweighs the latter.

      --

      MMO Quests are like orgasms:

      You may solo them, I prefer them in a group.

    6. Re:mostly not a problem: by orkysoft · · Score: 4, Interesting

      Seems like this law is all about outlawing cookies that often come with banner ads.

      --

      I suffer from attention surplus disorder.
    7. Re:mostly not a problem: by Fweeky · · Score: 2, Informative

      PHP sessions only store a session key too. The same may not necessarily be said about all PHP developers, of course, but PHP itself isn't *that* retarded (usually) :)

  2. Seems a bit harsh by Mwongozi · · Score: 4, Informative

    IIS for Windows assigns all clients an ASP session cookie by default. I'm not even sure how you turn that off. I'm sure other web servers on other OSs must do similar things too.

    It annoys me when legal types with an insufficient grasp of technology create laws without realising the consequences. Laws should have to pass through some kind of expert panel first.

    1. Re:Seems a bit harsh by thesolo · · Score: 5, Informative
      IIS for Windows assigns all clients an ASP session cookie by default. I'm not even sure how you turn that off.

      If you're using ASP scripts, put in
      @EnableSessionState = False
      at the top of your page. That will disable the default session cookies.
    2. Re:Seems a bit harsh by Drathos · · Score: 3, Funny
      IIS for Windows...
      As opposed to, say, IIS for Linux? ;)
      --
      End of line..
    3. Re:Seems a bit harsh by Homology · · Score: 3, Insightful
      It annoys me when legal types with an insufficient grasp of technology create laws without realising the consequences. Laws should have to pass through some kind of expert panel first.

      The new Swedish law does not mention cookies as such. The new law is, simply said, a response to the new technologies for collecting/storing/tracking information about private citizens, and the abuse these technologies may be used for. It attempts to give the private citizen some control of what type of information is collected, and what may be done with that information.

      In general, it appears the privacy/integrity is more respected/protected in Europe than in USA. While US funds the Total Information Awareness Agency, the German State funds Anonymity is not a crime

    4. Re:Seems a bit harsh by ReelOddeeo · · Score: 3, Insightful

      While US funds the Total Information Awareness Agency, the German State funds Anonymity is not a crime

      That is because we have not had our Police State experience yet. After the Untied Police States of America comes into being, and then eventually is overthrown, we will value things like anonymity. If we never have this experience, then we might instead just continue to have a gradual erosion of many rights. Of course, I suppose that eventually this would have to lead to the Unites Police States. The pendulum will probably have to swing fully one direction and then back.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    5. Re:Seems a bit harsh by MeNeXT · · Score: 2, Interesting
      It annoys me when legal types with an insufficient grasp of technology create laws without realising the consequences. Laws should have to pass through some kind of expert panel first.


      It annoys me that tech types with insufficent grasp of the law create products or services without realising the consequences.


      Most laws in democratic societies do pass through an "expert panel", the problem is who defines "expert". Unfortunately the same cannot be said about products and services, no expert panel required.

      --
      DRM? No thanks, I'll just get it somewhere else...
    6. Re:Seems a bit harsh by Anonymous Coward · · Score: 2, Insightful


      This basically means you can't use ASP sessions AT ALL. You could have a session-disabled ASP page at the start of your site to present a "do you want to use cookies?" option - but then you've got to code your site without sessions at all.


      Right!

      Take a deep breath and repeat after me: "Gratuitous session state is a bad thing."

      Oh, I'm not saying a login session (for sites where logging in is apropriate) with a few variables is bad, but session state for sites where folks are essentially "browsing through" is evil. Yes, I understand that it is harder to do it right, but the resulting improvement in performance and scalability you get w/o session state is well worth the effort.

      If you can do your site w/o session state, you absolutely should do your site w/o session state.

    7. Re:Seems a bit harsh by Pieroxy · · Score: 2, Interesting

      Yes, I am strongly suggesting that. For example, downloading (and using) Mozilla with the default 128bit encryption is Illegal in France. Though you don't risk too much...

      The point is: It is your job and duty to make sure that you are complying with the local law.

      The argument is that a laws that implicitely makes it illegal to use IIS in its default configuration is an unfair law

      Following your argument, no law should be passed if a software already exists that violates it ? That can't be it right? Software don't make the laws, legislators does.

    8. Re:Seems a bit harsh by Stary · · Score: 3, Informative

      They'd like you to think so, yes. Except, it was more of a "Let's call ourself neutral in order to not get our ass kicked" kind of situation, which progressed into a "sure, your nazi soliders can take the train straight across our country but call us neutral" kind of situation.

      Alot of people here in Sweden are starting to call for dropping the neutrality clause since it was never actually followed anyway.

      And as far as police states are concerned, we've had our touch of recording of "dangerous" people (like communists) by police.

      --
      Tomorrow will be cancelled due to lack of interest
    9. Re:Seems a bit harsh by thogard · · Score: 2, Funny

      The US had its police state when it was run by England. Its the reason for most of the items in the Bill of Rights. Check it out some time, its got some interesting concepts.

  3. Clicking on the link... by Art_Vandelai · · Score: 4, Funny

    results in 62 cookies being blocked by my browser. Seems these guys have a lot of work to do to comply with the new law :)

    1. Re:Clicking on the link... by The+J+Kid · · Score: 2, Funny

      Well then you must have answerd "yeeh" to the following:

      Du yuoo eccept zee fullooeeng egreement, in vheech yuoo let svedeeshcheff.cum lueds toons und toons ooff cuukeees streeet frum oooor brund noo oofee durectly tu yuoor veb soorffer fur nu epperent coose-a et ell?

      Didn't you realise?

      --
      Moderation: +4. Modded 70% Funny and 30% Overrated. 100% Saturated.
    2. Re:Clicking on the link... by Alkonaut · · Score: 2, Informative
      Actually the headline of the article reads something like
      "New law on electronic communication hard to follow".
  4. Christ, what next by joshv · · Score: 4, Interesting

    How is this any different than session IDs stored in URLs - i.e. URL re-writing. Sure, the person can see the info in the URL, but do they understand it any more than they would the contents of a cookie?

    -josh

    1. Re:Christ, what next by kaisa_sosey · · Score: 4, Informative

      A session ID can be used to track a user within a single session only. Cookies can be used to track users over multiple sessions. From multiple sessions one can build a profile. I think that's the difference.

    2. Re:Christ, what next by Stackster · · Score: 2, Interesting

      I once saw a simple proof-of-concept in which the server could identify the client based on the browser cache.
      A (dynamic) HTML page contained a bunch (about 100 or so) of img tags (and recorded which client got which set of img tags, they all had an ID in the URL). The next time the same client loaded the page, it got a different set of ID numbers, some of which were the same, and since those were cached, they weren't fetched from the server. So based on merely what information the client requested (or rather, _didn't_ request), it could be identified anyway.
      Sure, some browsers cache things differently (or not at all), and some don't even load images (lynx). But at least it worked with the default settings of the two major browsers at the time (MSIE and Netscape, both 4.something).
      IIRC, those 100 img tags was enough to keep track of several thousand clients.

      --

      There are 010 kinds of people. Those who understand octal, those who don't, and 06 other kinds of morons.
  5. PHP and cookies .. by MadX · · Score: 2, Interesting

    Well at least PHP will offer the option of allowing you to use the session ID as a variable in the request/post string .. ie : page.php?PHPSESSID=xxxxxxxxxx
    So you can effectively track the user on the server side like this ..

  6. Implied Consent by Gothmolly · · Score: 5, Insightful

    If you configure your browser to accept no cookies, some cookies, or all cookies, isn't that consent for websites to SET the cookies? Seems to me that this is an attempt to legislate a human problem - people want 'privacy' but are too bothered to keep clicking the button to acknowledge the "this site wants to set another cookie - you already have 12345 cookies from this site. Continue?" button. So the State 'makes' things 'secure' and 'private' by passing a law that says that only 'bad' people will use hidden cookies.
    Wake up folks, know how to operate your browser. You can work an answering machine, a VCR, and an automobile, why not a web browser?

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:Implied Consent by jkrise · · Score: 2, Insightful

      If you configure your browser to accept no cookies, some cookies, or all cookies, isn't that consent for websites to SET the cookies?

      What if your browser came pre-configured?
      What if you open Hotmail, and it says you need to enale Cookies to use it?
      What if sites used Cookies for purposes other than for the intended browsing experience?

      Wake up folks, know how to operate your browser.

      More than 60% Slashdotters use IE, use the default settings of Slashdot - /. can simply make the default threshold as -1 and ask users to change it ... why should I learn to use my browser to avoid crooks?

      -

      --
      If you keep throwing chairs, one day you'll break windows....
    2. Re:Implied Consent by aziraphale · · Score: 3, Insightful

      > why should I learn to use my browser to avoid crooks?

      The car had a lock on it? Well, blow me down - I wondered what that little keyhole under the door handle was. Well, I never. Still, you can't expect me to learn how to lock the car just to avoid crooks, can you?

      Oh, you can?

      Oh.

    3. Re:Implied Consent by bigman2003 · · Score: 2, Insightful

      Okay- honest question...

      Why do you fear cookies?

      A few years ago, the public was against cookies. I had users calling me up all the time, because their web browser "didn't work". Frequently, the problem was that they had turned off cookies, and couldn't access a lot of sites.

      When I asked them "why did you turn cookies off?" the answer was always the same - "I don't want them to know my credit card number."

      I had to tell them again and again, cookies can only store information that you supply. And the site can only access information that it set. (With the exception of things like Doubleclick- but you can turn 3rd party cookies off) Any site you WANT to give important information to, will not be allowing 3rd party cookies with sensitive information.

      After a few months of these users having to re-enter their password each time they visited a site, they started to get tired of it, and slowly turned their cookies back on. Eventually, it got down to where only one person still had cookies turned off- I found out he was the 'ringleader' the person who started the whole trend.

      This person has always been the least productive member of the group- more concerned about everything else in the world, than getting his job done. I don't think he will ever change, because he is paranoid, but I do enjoy watching him log in to sites all the time, and always give his speech about not wanting them to get his credit card number.

      Cookies are generally very safe. For most users, they make using the web far easier, and more enjoyable. This is an area where "what they don't know, won't hurt them" that I fully support.

      --
      No reason to lie.
  7. Poor Swedish website designers by Eric+Ass+Raymond · · Score: 3, Interesting
    Awww... poor Swedish website designers.

    I don't really think this matters that much. Especially, if you use something like Mozilla that can selectively block cookies. I let in cookies only from my netbank and Slashdot. If some other site won't let me in without cookies, they won't get a hit from me then.

  8. Misspelling? by upside · · Score: 2, Funny
    "The law comes into force today"

    Shouldn't that be "comes into farce"

    ?
    --
    I'm sorry if I haven't offended anyone
  9. dumb but not a big deal by truffle · · Score: 5, Insightful


    There's no need to rewrite your site, just direct any visitor to this splash page. If they don't choose to use the cookies, they don't get to use your site.

    Sounds a bit harsh, but speaking as a Web developer, if you're working with a non static site it's simply too much of a pain to produce a good site. It's not impossible, it's just a huge pain. Almost all users will accept the restriction of cookies.

    A few years ago I wouldn't have said this, but browsers today who refuse to use cookies are just cutting themselves off from a large part of the Internet. Let them cut themselves off. When they're ready to join the rest of us, they're welcome to.

    As for privacy concerns, Mozilla has a nice warn-me-before-storing-a-cookie mode. Here's a clue for the Swedes, it should be the browser manufacturers providing consumers with options to protect their privacy.

    --

    ---
    I support spreading santorum
    1. Re:dumb but not a big deal by hswerdfe · · Score: 2, Insightful

      ok lets say I am using Mozilla and I get this warning that some website, wants to store a cookie on my machine.

      how do I know if I should let it?
      I don't know what its tracking or what it will be used for.

      there needs to be more information than just its a cookie.

      --
      --meh--
  10. A special web page by A55M0NKEY · · Score: 5, Funny

    A special web page where the user can choose whether or not to recieve cookies. What a good idea! All a web site needs to do is save the 'don't give me cookies' preference in a cookie and... wait.... Um.....

    --

    Eat at Joe's.

  11. English version... by jmo_jon · · Score: 5, Informative

    Post och Telestyrelsen (the authority enforcing the law) has an english version of the "info text" needed for using cookies

  12. Legislating around IETF standards by aziraphale · · Score: 5, Insightful

    I've said it before and I'll say it again - the terminology employed in internet law as it relates to internet standards is seriously screwed up.

    What they're legislating here is that before a server transmits an HTTP response featuring a Set-Cookie header, they must send a prior (human readable) HTTP response to the client saying that they'll be sending a response with a Set-Cookie header along next if the client doesn't mind.

    This is ridiculous - there's no law saying a client must obey set-cookie headers, there's no reason for Set-Cookie headers to have any more legal status than Cache-Control headers. Set-Cookie is just a suggestion from the server to the user agent that it would help the server if the user agent remembered the attached cookie data, and sent it back in a cookie header with any subsequent requests.

    Set-Cookie is a request, not an order. If the client chooses to accept the cookie, that's the client's business. If the client chooses to ignore the cookie, so be it.

    Legislation doesn't belong in this field. The protocol provides for the situation where the client has privacy concerns about the server. legislating to effectively override IETF standards is a dangerous direction to go in.

    1. Re:Legislating around IETF standards by aziraphale · · Score: 2, Informative

      Read the RFCs. A Set-Cookie header is just a header. The behavior of the client is then covered by the RFC. It MAY choose to accept the cookie. It MAY choose to ask the user of the client whether to accept the header. It SHOULD have a facility to allow the user to reject all cookies. The RFC nowhere says MUST. In other words, the way the standard is framed, a Set-Cookie header is a request, not a demand.

    2. Re:Legislating around IETF standards by aziraphale · · Score: 2, Insightful

      > Following your logic, it would be dangerous to regulate any SMTP traffic (whether opt-in, opt-out or whatever) because people can choose whether to receive messages or not.

      Slightly different; when I make an HTTP request, I'm expecting an HTTP response. No web server sends out unsolicited HTTP responses to clients on the offchance they'll pick them up and set a cookie :)

      HTTP responses are always solicited, including a Set-cookie header in there is not a huge burden on the client. SMTP servers are servers, obviously, so take a somewhat different role.

      By having an open port 25, just like having an open port 80, you are inviting people to submit packets to you. So SMTP servers, just like web servers, should expect to receive requests. They may choose to reject those requests, or process them, in accordance with the various RFCs that exist, but they certainly can't expect to have any control over what requests they receive in the first place.

      Legislation should only be about what people do with technology, not about technology itself. Legislating that web sites must obtain permission before using cookies is different to legislating that web sites must get permission before storing permanent records of a person's name and address. Similarly, legislating that you must have someone's explicit permission before sending them an email advert is fine; legislating that you must have their explicit permission before opening a connection to port 25 of their server is not.

      I hope that clears up where I stand..

  13. A compromise solution by mikech@rbsgi · · Score: 4, Interesting

    A compromise solution would have been to disallow cookies that live longer that the user's session. Session cookies are very useful for JSP, PHP, etc. Long-lived (persistent) cookies are the real concern of the privacy folk. I'm surprised that no one presented this.

  14. Just use Java Web Applications ;-) by javatips · · Score: 2, Informative

    This represents a huge problem for swedish sites which use .asp and .php session variables.

    Just use Java Web Application with JSPs. They automatically handle the generation of sessionId with cookie or URL rewritting without any modification to the source code. :-)

  15. Bigger security risk by mgkimsal2 · · Score: 4, Insightful

    There's a greater chance that your session would be hijacked accidentally if you fwd a URL that has your session ID in it to someone else.

    1. Re:Bigger security risk by Tarpan · · Score: 3, Insightful

      Only if you use a brain damaged session ID system, where the secret part is the id. A far better way is to tie the id to a specific ip.

    2. Re:Bigger security risk by maharg · · Score: 4, Insightful

      A far better way is to tie the id to a specific ip.

      Wouldn't this present a problem where the user is behind a proxy ?

      --

      $ strings FTP.EXE | grep Copyright
      @(#) Copyright (c) 1983 The Regents of the University of California.
    3. Re:Bigger security risk by maharg · · Score: 2, Informative

      ah - I see - compare the ip address on subsequent hits to the ip address of the originating hit.

      OK - wouldn't that be a problem where the user is behind *multiple* proxies, so the ip address that the website sees could change from hit to hit ?
      (I'm behind such a set of proxies right now..)

      --

      $ strings FTP.EXE | grep Copyright
      @(#) Copyright (c) 1983 The Regents of the University of California.
    4. Re:Bigger security risk by Isofarro · · Score: 4, Informative
      [tieing a session id to an IP address]
      Wouldn't this present a problem where the user is behind a proxy ?
      Indeed it does. AOL for example uses a number of caching servers, and one user uses a number of different caching servers during his visit. So by tieing a session id to an IP address effectively prevents users of AOL and other large ISPs from using a website.
  16. You really don't --need--- cookies by tjstork · · Score: 2, Interesting

    if you store state in an encrypted hash on an input hidden tag.

    --
    This is my sig.
  17. Stupidest idea ever. by Kjeks · · Score: 2, Interesting

    Why can't just the paranoid people block cookies?
    I can't exactly see the big problem with cookies (other than that it's a unreliable solution for remembering user-data).

    As already mentioned, if PHP is using sessions, it will first try to set a cookie with the session-ID. If that fails, it will pass the session-ID along with the url or automagicaly add a hidden-field to forms.
    Good luck rewriting ALL php-sites that uses sessions.

    As I see this, cookies do more good then harm, and it's no problem disabling them, so what's all the fuzz about?

    --

    --
    Will work for bandwidth.
  18. EU law by DaBj · · Score: 4, Informative

    Actually it's "just" an implementation of an EU law according to a directive from the EU (2002/58/EG) not that it makes it any better though since all of EU has to have this law sooner or later (but before Oct 31st 2003 according to the directive).

    --
    "GNU's not Unix....it's Linux" / Kami "kokamomi" Petersen
  19. meanwhile... by Gavin+Rogers · · Score: 4, Insightful

    Meanwhile back in real life millions of scam artists, spammers and paedophiles remain confident that legal loopholes exist that allow them to do what they do without fear of prosecution.

    Cookies security problems? That's so 1996... Get with the real problems the Internet needs laws to prevent.

  20. Re:What? by ceejayoz · · Score: 4, Informative

    Do you use IE like most people do? You can only block all cookies (and lose the use of your netbank, for instance) or allow all cookies.

    Uh, false?

    You can accept, deny, or have IE prompt you for cookies. You can also diferentiate between third-party cookies and cookies from the originating site.

    Not only that, but you can override the cookie handling for individual sites - just put your netbank on "Always Allow" and you're set.

    People who haven't used IE for years shouldn't go talking about it's features or lack thereof. :-p That said, everyone should use Moz Firebird.

  21. Only really applies to information gathering by BELG · · Score: 5, Informative

    The law doesn't apply to cookies used to supply the user with a service she asked for.

    That is certainly open to interpretation, but at the very least it means that sites that really need cookies can relax. Shopping online, logging in to a news site, or any form of web-based mail are all services the user explicitly asks for, after all.

    However, silent information gathering becomes illegal. Is that a bad thing? Hell no.

  22. Can someone translate this please by Rogerborg · · Score: 4, Insightful

    Specifically:

    • How explicit does the acceptance have to be?
    • Does it apply to all content served, or just to that served to clients that can (reasonably) be identified as being in Sweden?
    • Does it mandate a mechanism?
    • Is the mandated mechanism pure HTTP/HTML (how do I click on a popup in lynx, for example?).
    • How do they distinguish between a human browser, and a robot?
    • Do sites have to implement blocking of deep linking to redirect browsers to a cookie acceptance page? Does that screw indexing engines?

    Seems to me like there's a metric buttload of questions to be answered before we can have anything like a reasoned debate on this.

    --
    If you were blocking sigs, you wouldn't have to read this.
    1. Re:Can someone translate this please by fr0m · · Score: 2, Informative
      Why not. First of all here's the original text:

      SFS 2003:389, 6 kap. Integritetetsskydd

      18 Elektroniska kommunikationsnät får användas för att lagra eller få tillgång till information som är lagrad i en abonnents eller användares terminalutrustning endast om abonnenten eller användaren av den personuppgiftsansvarige får information om ändamålet med behandlingen och ges tillfälle att hindra sådan behandling.
      Detta hindrar inte sådan lagring eller åtkomst som behövs för att utföra eller underlätta att överföra ett elektroniskt meddelande via ett elektroniskt kommunikationsnät eller som är nödvändig för att tillhandahålla en tjänst som användaren eller abonnenten uttryckligen har begärt.

      This is my own translation, more or less word by word since I don't have much experience with translation of laws :-)

      SFS 2003:389, 6 chapter. Integrityprotection

      18 Electronic communicationnetworks may be used to store or access information that is stored in the subscriber's or user's terminalequipment only if the subscriber or user recieve information about its usage, by the responsible(person?)of the personal information, and has an opportunity to block such a treatment.
      This do not stop storage or access that is needed to perform or make it easier to transfer an electronic message via an electronic network or as neccessary to provide a service that the user or subscriber explicitly has requested.

  23. Re:Cookies not needed by radish · · Score: 2, Interesting

    Wow, genius.

    All a cookie is is a session ID, the actual data in the session is kept on the server. It's just neater not to have to rewrite every URL, and it's nice to have the option of persistance. For everyone who is pointing out ways of living without cookies, you're missing the point. Cookies don't allow you to do (much) you can't do otherwise, they just let you do it more neatly and more reliably.

    --

    ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  24. Wouldn't it be a wonderful world... by SlowCoder · · Score: 5, Informative

    ..if people actually read and understood the text before making headlines out of it..

    First, the law says that if you _requested_ the service, go ahead and use your cookies all you want. But only for the site you wanted to access.
    This effectively stops banner-ad companies from tracking your movement between sites using persistent cookies, since you never _requested_ to look at their banners.

    Second, it only outlaws _storing_ of the information, which in my mind comes to _persistent_ cookie, ergo PHP / ASP session-cookies should be allowed without problems.

    I don't see any problem with this law, but I do see alot of good things coming from it. Less spying from evil banner-ad companies for one.

    My 2 cents worth..

    1. Re:Wouldn't it be a wonderful world... by SlowCoder · · Score: 2, Informative

      I wouldn't mind if it wasn't so bloody long..
      The link (IDG.se) contains false information.

      My conclusions come from the actual law..

      This text is enormously long (and boring), so translating it isn't really an option for me. Sorry..

  25. Re:What about your trusty DB? by arkanes · · Score: 2, Informative

    URL session tokens are quite a bit less secure than cookie based ones. I know of at least a couple online webstores that allow session hijacking through thier JSP URL tokens. (You're shopping. You see X item. You cut & paste the link to your friend so they can look at it... now you're both shopping in the same session...)

  26. Utterly moronic by Fweeky · · Score: 4, Informative

    Cookies keep client-specific data outside URL's and in a well specified, preditable and easy to manage system. You can set your browser to accept or reject them at will quite easily; even IE's really quite good at handling this automatically.

    Compare this with storing the same data in the URL; instead of setting a SID=12345 cookie to track your session id, it gets tacked onto the end of every link, Referer header, etc; now you have no automated method to accept or reject the "cookie", nor much control over having it leaking into access logs all over the place by way of referer headers.

    Congratulations, by not using cookies you just reduced the user's control over their own privacy! Well done!

  27. Read the freaking law by JanneM · · Score: 5, Informative

    I don't mind when slashdot posters comment on things without actually checking the facts, but I get prtetty annoyed when a news site does the same thing. IDG has had a long campaign against any kind of privacy regulation or other things that may hamper their ability to do whatever they want. The article is factually bunk, in other words. These are the same people lobbying for a sales tax exemption to advertising in very shrill overtones.

    The law explicitly allows using cookies for session management, identity and presistance without consent by the surfer when it is needed for the functionality the surfer came to the site to use. Slashdot would be in the clear, no problem. So would shopping sites using cookies for keeping track of a shopping cart, for example. Most asp and php sites would have no problem either.

    The law _only_ regulates cookies that are not relevant to the site functionality. Specifically, ad tracking stuff, web bugs and other stuff that track you independently of the site functionality can not store cookies without your informed consent. That's it.

    Just ignore the hysterical rhethoric from IDG.

    --
    Trust the Computer. The Computer is your friend.
  28. Microsoft solved this allready by it0 · · Score: 2, Informative

    If you use IE6 then it only accepts cookies when you have a privacy statement.(default setting) It means that when you want to read/set a cookie you have to provide the browser with a privacystatement. This is actually 3 documents consisting of 2 xml files and a html file explaining what the cookie is trying to do.

    Bloody annoying if you are coding a webapplication, I assume it broke a lot of old stuff :)

  29. Re:What? by LarsG · · Score: 2, Insightful

    Do these people not know you can reject cookies with your browser?

    Yes, they do. But they also know that it is often hard for the user to know for which purposes the cookies are used.

    This is not an anti-cookie law. This is a law that requires the website to tell the user what the cookies are used for.

    --
    If J.K.R wrote Windows: Puteulanus fenestra mortalis!
  30. Re:What about your trusty DB? by arkanes · · Score: 2, Insightful
    That is, after all, why they were invented in the first place.

    Oh, and while storing the source IP is a partial solution, it's not 100% (think people behind a common proxy), and the whole point of the session id is that you DON'T re-enter your user/pw at every page. Cookies are the best, cleanest way to maintain state over a session. They're even better if you want to maintain state over multiple sessions (on the other hand, this can be dangerous and I'm not sure that it's usefull enough to outweight the security and privacy concerns).

  31. Translation of article by McDutchie · · Score: 2, Insightful
    Since the Fish knows no Swedish, here is a quick translation... any errors are mine. NoT = Note of Translator.

    - M.

    Here is what the law says

    SFS 2003:389, chapter 6. Integrity protection

    18. Electronic communication networks may be used to store or gain access to information stored in a subscriber's or user's terminal equipment only if the subscriber or user of the personuppgiftsansvarige (NoT: "entity responsible for handling the personal data", i.e. the website) receives information about the operation's purpose and is given the opportunity to decline such operation. This shall not hinder such storage or access as is necessary to execute or facilitate to transfer an electronic message via an electronic communications network or as is necessary to provide a service that the user or subscriber has expressly requested.

    Hard to comply with new law on electronic communication

    (07/24/2003 4:24pm)

    Today, many sites are becoming illegal, as the new law on electronic communication takes effect. It says that sites must communicate what the cookies' contents is used for. The users must also be given the option to refuse.

    Starting today, Swedish websites may not utilise so-called cookies without explaining the purpose of the treatment of the data that's in them. I addition, users must be given the chance to stop the use of cookies.

    This is one of the consequences of the new law on electronic communication, SDS 200:389, which is taking effect.

    It is apparently not sufficient to set the web browser to automatically accept cookies. The website one visit must explain what the information will be used for and also give the user the option to refuse the use of cookies.

    Hard for sites

    This gives Swedish websites two options.

    "One alternative is to stop using cookies, making the website's functionality suffer", says Jonas Eriksson at Webkonsulterna in Östersund.

    The other option is one Jonas Eriksson doesn't even want to think about.

    It means that the majority of Swedish sites that use scripting languages with session variables such as asp and php become illegal insofar as they don't rebuild the websites so that the users can approve of cookie use before they enter the site.

    But it doesn't stop there.

    "It isn't enough that people get a load of banner and popup ads every day. Now even all ad networks must first start a Javascript to ask people if they want to set a cookie before viewing the ad", he says.

    PTS complies with the law

    The (supervision authority? watchdog?) for the electronic communications law is Post- och Telestyrelsen, PTS, and on their website it says the following:

    "Cookies are therefore used for purely technical reason and they are used today by most websites. According to the new electronic communications law, which takes effect starting July 25, 2003, all who visit websites shall be informed about cookie use and be given the option to refuse such use."
    Fine threat

    According to Charlotte Ingvar-Nilsson, biträdande rättschef (NoT: some high-up function that I don't know how to translate) at PTS, PTS will monitor how the market will act on the new law.

    "If websites don't comply with the law, we have to start with educating about the changes", she says.

    And if that doesn't work?

    "If we suspect someone of not comlying with the law, that website will get at least a month to fix that. After that we have the option to issue an order which could be accompanied with a fine", says Charlotte Ingvar-Nilsson.

    PTS also has the option to decide that people who neglect a debt entirely or partially shall cease operations if the infraction is not insignificant.

    "It remains to be seen whether it can become applicable in this case", says Charlotte Ingvar-Nilsson.

  32. This Is Idiocy by KrispyKringle · · Score: 3, Insightful
    I'm all in favor of privacy, but this is pure lunacy. It is entirely up to the end-user to accept cookies. The only reasons end users may feel they do not have a choice are that their browsers are configured by default to accept them and a few (not many) pages require cookies to work.

    So, if they really wanted to mix it up, they'd order the browsers to have them off by default (or ask the user on their first run) and make sure websites don't need them to function. But requiring them to get consent is silly. Cookies are an essential part of web design, misused, for sure, but I can misuse images or session headers or the REFERER field in HTTP/1.1 to track someone as well. Government should not be legislating technology, when possible, be it for corporate gain or perceived consumer safety.

  33. PTS has a compliant website running IIS by BoxedFlame · · Score: 4, Informative

    PTS (the department responsible for this law) has a website at www.pts.se and they comply with this law and are using ASP. The reason for this law is simple: organizations are trampling all over peoples privacy rights because it's too damn easy to do so. The swedish law is designed to put the legal advantage at the side of the common man again.

    Btw, I might add that I know one of the major lawyers responsible for this law.

  34. P3P by Sebby · · Score: 2, Informative
    Wouldn't it just have been easier to force them to issue P3P policies for their site?

    I can see a lot of businesses moving their site 'off-country' or making them "international" if that doesn't cut it....

    --

    AC comments get piped to /dev/null
  35. Dumb by nnnneedles · · Score: 2, Insightful

    I'm from sweden and I must say that this sucks.

    It's just one more of those stupid swedish rules that hinders the marketplace. Like back in the day, you couldn't get a .se domain name, you had to get a www.site.region.city.se.

    Why can't they just leave the internet alone!

    Stupid lawmakers.

    --
    Will code a sig generator for food
  36. Re:Cookie blocking by Isofarro · · Score: 3, Informative
    Does anyone know what kind of heuristics MSIE used to determine which cookies are good and which are bad?

    Internet Explorer 6 uses the Compact Privacy policy as specified in the W3C P3P spec. It uses this to determine whether a cookie is unsatsifactory (different rules based on whether it is a third party cookie or not). MSDN has documentation covering Internet Explorer's decision matrix (unfortunately framed).

  37. Why not move away? by Sagev · · Score: 2, Insightful

    The internet is, by it's very nature, not a location-specific sort of thing. Why wouldn't every ISP in Sweeden simply pack up and move to Norway? They keep their traffic, keep their design, keep their cookies, and all they have to do is live in lovely Norway.

  38. The poster didn't read the full law by nicke999 · · Score: 2, Informative
    Here is a translation of the law quoted in the magazine:

    Integrity protection

    Electronic communication networks may be used to store or access information that is on a subscriber or user's terminal equipment only if the user receives information about the purpose of such treatment and is given a opportunity to reject it.

    This does not prevent storage or access that is necessary to accomplish or facilitate the transfer of an electronic message through an electronic communication network or that is necessary to provide a service that the user or subscriber explicitly requested.

    --
    Thanks for browsing at -1
    Please vistit my blog: www.framtiden.nu
  39. Sweden needs a reality check by code65536 · · Score: 2, Informative

    Cookies? Dangerous? It seems to me that this whole cookie-paranoia is nothing but a product of a sensational media jumping on the wrong things. Cookies aren't dangerous. And they don't hamper your privacy any more than the security camera in your local grocery store. Sweden's government needs to do a reality check and figure out what is important and what it shouldn't piddle and twiddle about.

  40. I'd hate to have to deal with this... by wackoman2112 · · Score: 2, Informative

    I don't see why websites should get your consent for cookies. Most modern day browsers like Mozilla or IE6, there are options to restrict first-party cookies and second-party cookies based on the website's compact privacy policy. You can even create a blacklist of websites you know abuse cookie power. Of course, some sites might not have a compact privacy policy, so maybe better legislation would require a policy on every site!

    Even still, I've never been very concerned about cookies. If you're worried about them tracking your every movement on the internet, block third-party cookies. And keep in mind they can track you by IP address!

    Overall, I think this is plain unfair to the websites that will have to completely rewrite their whole websites to comply with this ridiculous law. Luckily I don't have to deal with it!

    --
    /usr/bin/complain > /dev/null
  41. What the law basically says by wootest · · Score: 2, Informative

    You have to have a page (linked to from the front page) to describe what cookies are, how to disable them and how they are used on your page. Having it as the front page is NOT necessary, nor is having it all as text on the front page. The information should be able to be accessed during the web site visit, in a nutshell. You do NOT need to have a no-cookie version since the user can empty her cookies or simply block cookies from your domain. However, a link to the explanatory page from your login is preferred.