Welcome!

You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

Related Topics: ColdFusion, Adobe Flex

ColdFusion: Article

Ben Forta's ColdFusion Blog: CNet News.com Writers Demonstrate Desire For Sensationalism and Poor Technical Understanding

Government Web sites are keeping an eye on you?

CNet's News.com is running a story by staff writers Declan McCullagh and Anne Broache with the sensational title Government Web sites are keeping an eye on you.

The key points of the article are:

  • A 2003 directive makes it illegal for federal agency web sites to track user activity or monitor user behavior.
  • Some government agencies are using cookies on their sites (although there is no report of what those cookies are and what it is that is stored in them).
  • "Many of the cookies appearing on the errant Web sites were generated by ColdFusion, the popular Web authoring tool ... which sets them to expire about 30 years in the future".
  • WebTrends and ColdFusion are the only products mentioned as the ones creating cookies.
  • The article does not actually state that ColdFusion is doing bad things (with the exception of "one Smithsonian Institution Web staffer, who initially denied the existence of persistent cookies detected by CNET News.com on the National Air and Space Museum's site, said that ColdFusion settings were probably to blame"), but there is a sense of guilt-by-association here.

This is yet another alarmist article, decrying the presence of cookies without any explanation of what they are used for and what is stored in them. Blanket statements about cookies are irresponsible. But that is not my real concern here. The bigger issue is ColdFusion, cookies, and "30 year" persistence.

So, what are these "30 year" cookies? Where does that number come from, and what does it actually mean?

First let me make this very clear: ColdFusion does not store any data in cookies. Ever.

But ColdFusion does create cookies for you. How? If you use CLIENT or SESSION variables then identifier cookies are created. These contain an id and a token (the combination of which make up a unique client identifier) but no actual data is ever stored in cookies. These cookies are persistent cookies, they don't expire, although the SESSION or CLIENT that they identify does indeed expire.

Granted, the presence of CFID and CFTOKEN (or jsessionid) cookies may alarm some users, but the fact of the matter is that these cookies present neither a privacy nor a security concern.

This is all explained quite clearly in the ColdFusion documentation. As is how to a) maintain session-state without using cookies at all, and b) how to make these identifier cookies persist only until the end of the browser session.

So, to clarify, ColdFusion does create cookies if you use session-state management, but these store simple identifiers (a number or a UUID, and no actual data), and cookie use can be disabled altogether (although this is not the default behavior).

So, is there an actual risk here? Can cookies contain more sensitive information and persist for "30 year"?

Well, no, not if they are ColdFusion generated cookies. But developers can indeed opt to do so.

The ColdFusion <cfcookie> tag is used to create (and update and delete) cookies. ColdFusion developers can use this tag to store data in cookies, and they can (although they should not) store sensitive data in these cookies. The <cfcookie> tag EXPIRES attribute specifies how long the cookie should persist for. By default, cookies expire when the browser closes. But it is also possible to specify an actual date and time for them to expire, as well as "never" which (as the documentation explains) makes the cookie expire "in 30 years from the time it was created (effectively never in web years).".

In other words, ColdFusion developers can create cookies that do indeed have a "30 year" lifetime, but that is not the default behavior, that is something a developer must consciously decide to make happen. As such, this scenario cannot be what the story refers to (ColdFusion tracking occurring without anyone knowing that it was going on).

So, we are back to CFID and CFTOKEN, the identifier cookies, which we know store no user data and do no monitoring.

Now, it could be argued that ColdFusion should not use cookie identifiers by default. There are two primary ways to identify sessions, cookies and URL tokens, and the default could indeed be to use the latter. This would be a valid suggestion, but as any developer who has opted to go down this road knows, this makes development far more complex. As such, I believe that the default behavior is what it should be (because, the identifier cookies do not store anything sensitive, they store no data at all).

It could also be argued that the default lifetime of these cookies should be lower. That is something we need to consider, although I suspect that as dramatic as "30 year" sounds, the same article would have been written even for a shorter duration.

The only way around this (without defaulting to URL tokens) would be for the identifier cookies to be browser cookies (expiring when the browser closes), and that is an option worth considering. This would not actually make any real difference (because, once again, these are identifier cookies only), but it could help placate ignorant alarmists.

But ColdFusion is still creating cookies. Do these violate the OMB Guidance for Implementing the Privacy Provisions of the E-Government Act of 2002?

The text reads: "agencies are prohibited from using persistent cookies or any other means (e.g., web beacons) to track visitors' activity on the Internet". It does not prohibit all persistent cookies, only those used to "track visitors' activity on the Internet". The text does not explain what "track" actually means, but the context is clear, cookies are prohibited when used for the tracking of user activity. Indeed, the text goes on to say that persistent cookies may be used (subject to approval and authorization) so long as the agency posts "clear notice in the agency's privacy policy of the nature of the information collected, the purpose and use for the information, whether and to whom the information will be disclosed; and the privacy safeguards applied to the information collected.". This clarifies things quite a bit, and explains what the concern is; the collection of information (and possible subsequent disclosure).

ColdFusion's identifier cookies track nothing, they identify a session which quickly times out (the default time out is 20 minutes, and the default server imposed maximum is 2 days). No data is collected, there is no risk of future disclosure, there is no tracking. And as such, these identifier cookies do not violate the privacy provisions!

With all of this in context, consider the following quotes from the story:

  • "Many of the cookies appearing on the errant Web sites were generated by ColdFusion, the popular Web authoring tool. When the software creates certain types of cookies, it automatically assigns them a default persistent setting." The only cookies that persist by default are the identifier cookies, which store no data and do no tracking.
  • "Many agencies appeared to have no inkling that their Web sites were configured to record the activities of users." Configured to record the activities of users?
  • "Representatives at several agencies said they were astonished to see cookies on their Web sites, and they blamed their Web designer's lack of understanding of ColdFusion's default settings." Again, if developers did not put the cookies there, then the only cookies are the identifier cookies.

My big problem with this story is that it leaves the impression that ColdFusion performs tracking and stores data, and that this occurs whether or not developers are aware of it. And this is just blatantly false!

Unless a developer opts to do so, there is no recording of user activity, there is no sensitive data stored in cookies, and there is no risk or violation of federal directives. It is as simple as that.

By weaving together partial facts, incomplete explanations, and tales of panicked reactions, Declan McCullagh and Anne Broache have traded journalist integrity and technical understanding for ignorant alarmist sensationalism. They should be ashamed of themselves!

More Stories By Ben Forta

Ben Forta is Adobe's Senior Technical Evangelist. In that capacity he spends a considerable amount of time talking and writing about Adobe products (with an emphasis on ColdFusion and Flex), and providing feedback to help shape the future direction of the products. By the way, if you are not yet a ColdFusion user, you should be. It is an incredible product, and is truly deserving of all the praise it has been receiving. In a prior life he was a ColdFusion customer (he wrote one of the first large high visibility web sites using the product) and was so impressed he ended up working for the company that created it (Allaire). Ben is also the author of books on ColdFusion, SQL, Windows 2000, JSP, WAP, Regular Expressions, and more. Before joining Adobe (well, Allaire actually, and then Macromedia and Allaire merged, and then Adobe bought Macromedia) he helped found a company called Car.com which provides automotive services (buy a car, sell a car, etc) over the Web. Car.com (including Stoneage) is one of the largest automotive web sites out there, was written entirely in ColdFusion, and is now owned by Auto-By-Tel.

Comments (4) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
news desk 01/05/06 10:04:40 PM EST

The text reads: 'agencies are prohibited from using persistent cookies or any other means (e.g., web beacons) to track visitors' activity on the Internet'. It does not prohibit all persistent cookies, only those used to 'track visitors' activity on the Internet'. The text does not explain what 'track' actually means, but the context is clear, cookies are prohibited when used for the tracking of user activity. Indeed, the text goes on to say that persistent cookies may be used (subject to approval and authorization) so long as the agency posts 'clear notice in the agency's privacy policy of the nature of the information collected, the purpose and use for the information, whether and to whom the information will be disclosed; and the privacy safeguards applied to the information collected.'. This clarifies things quite a bit, and explains what the concern is; the collection of information (and possible subsequent disclosure).

news desk 01/05/06 09:49:58 PM EST

The text reads: 'agencies are prohibited from using persistent cookies or any other means (e.g., web beacons) to track visitors' activity on the Internet'. It does not prohibit all persistent cookies, only those used to 'track visitors' activity on the Internet'. The text does not explain what 'track' actually means, but the context is clear, cookies are prohibited when used for the tracking of user activity. Indeed, the text goes on to say that persistent cookies may be used (subject to approval and authorization) so long as the agency posts 'clear notice in the agency's privacy policy of the nature of the information collected, the purpose and use for the information, whether and to whom the information will be disclosed; and the privacy safeguards applied to the information collected.'. This clarifies things quite a bit, and explains what the concern is; the collection of information (and possible subsequent disclosure).

SYS-CON India News Desk 01/05/06 08:41:52 PM EST

The text reads: 'agencies are prohibited from using persistent cookies or any other means (e.g., web beacons) to track visitors' activity on the Internet'. It does not prohibit all persistent cookies, only those used to 'track visitors' activity on the Internet'. The text does not explain what 'track' actually means, but the context is clear, cookies are prohibited when used for the tracking of user activity. Indeed, the text goes on to say that persistent cookies may be used (subject to approval and authorization) so long as the agency posts 'clear notice in the agency's privacy policy of the nature of the information collected, the purpose and use for the information, whether and to whom the information will be disclosed; and the privacy safeguards applied to the information collected.'. This clarifies things quite a bit, and explains what the concern is; the collection of information (and possible subsequent disclosure).

SYS-CON India News Desk 01/05/06 08:17:49 PM EST

The text reads: 'agencies are prohibited from using persistent cookies or any other means (e.g., web beacons) to track visitors' activity on the Internet'. It does not prohibit all persistent cookies, only those used to 'track visitors' activity on the Internet'. The text does not explain what 'track' actually means, but the context is clear, cookies are prohibited when used for the tracking of user activity. Indeed, the text goes on to say that persistent cookies may be used (subject to approval and authorization) so long as the agency posts 'clear notice in the agency's privacy policy of the nature of the information collected, the purpose and use for the information, whether and to whom the information will be disclosed; and the privacy safeguards applied to the information collected.'. This clarifies things quite a bit, and explains what the concern is; the collection of information (and possible subsequent disclosure).

@ThingsExpo Stories
Because IoT devices are deployed in mission-critical environments more than ever before, it’s increasingly imperative they be truly smart. IoT sensors simply stockpiling data isn’t useful. IoT must be artificially and naturally intelligent in order to provide more value In his session at @ThingsExpo, John Crupi, Vice President and Engineering System Architect at Greenwave Systems, will discuss how IoT artificial intelligence (AI) can be carried out via edge analytics and machine learning techn...
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution and join Akvelon expert and IoT industry leader, Sergey Grebnov, in his session at @ThingsExpo, for an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.
WebRTC is the future of browser-to-browser communications, and continues to make inroads into the traditional, difficult, plug-in web communications world. The 6th WebRTC Summit continues our tradition of delivering the latest and greatest presentations within the world of WebRTC. Topics include voice calling, video chat, P2P file sharing, and use cases that have already leveraged the power and convenience of WebRTC.
From 2013, NTT Communications has been providing cPaaS service, SkyWay. Its customer’s expectations for leveraging WebRTC technology are not only typical real-time communication use cases such as Web conference, remote education, but also IoT use cases such as remote camera monitoring, smart-glass, and robotic. Because of this, NTT Communications has numerous IoT business use-cases that its customers are developing on top of PaaS. WebRTC will lead IoT businesses to be more innovative and address...
SYS-CON Events announced today that GrapeUp, the leading provider of rapid product development at the speed of business, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company, specialized in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market acr...
SYS-CON Events announced today that Datera, that offers a radically new data management architecture, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Datera is transforming the traditional datacenter model through modern cloud simplicity. The technology industry is at another major inflection point. The rise of mobile, the Internet of Things, data storage and Big...
In his opening keynote at 20th Cloud Expo, Michael Maximilien, Research Scientist, Architect, and Engineer at IBM, discussed the full potential of the cloud and social data requires artificial intelligence. By mixing Cloud Foundry and the rich set of Watson services, IBM's Bluemix is the best cloud operating system for enterprises today, providing rapid development and deployment of applications that can take advantage of the rich catalog of Watson services to help drive insights from the vast t...
The question before companies today is not whether to become intelligent, it’s a question of how and how fast. The key is to adopt and deploy an intelligent application strategy while simultaneously preparing to scale that intelligence. In her session at 21st Cloud Expo, Sangeeta Chakraborty, Chief Customer Officer at Ayasdi, will provide a tactical framework to become a truly intelligent enterprise, including how to identify the right applications for AI, how to build a Center of Excellence to ...
SYS-CON Events announced today that CA Technologies has been named "Platinum Sponsor" of SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business - from apparel to energy - is being rewritten by software. From planning to development to management to security, CA creates software that fuels transformation for companies in the applic...
Recently, IoT seems emerging as a solution vehicle for data analytics on real-world scenarios from setting a room temperature setting to predicting a component failure of an aircraft. Compared with developing an application or deploying a cloud service, is an IoT solution unique? If so, how? How does a typical IoT solution architecture consist? And what are the essential components and how are they relevant to each other? How does the security play out? What are the best practices in formulating...
In his session at @ThingsExpo, Arvind Radhakrishnen discussed how IoT offers new business models in banking and financial services organizations with the capability to revolutionize products, payments, channels, business processes and asset management built on strong architectural foundation. The following topics were covered: How IoT stands to impact various business parameters including customer experience, cost and risk management within BFS organizations.
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
SYS-CON Events announced today that Elastifile will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Elastifile Cloud File System (ECFS) is software-defined data infrastructure designed for seamless and efficient management of dynamic workloads across heterogeneous environments. Elastifile provides the architecture needed to optimize your hybrid cloud environment, by facilitating efficient...
There is only one world-class Cloud event on earth, and that is Cloud Expo – which returns to Silicon Valley for the 21st Cloud Expo at the Santa Clara Convention Center, October 31 - November 2, 2017. Every Global 2000 enterprise in the world is now integrating cloud computing in some form into its IT development and operations. Midsize and small businesses are also migrating to the cloud in increasing numbers. Companies are each developing their unique mix of cloud technologies and service...
SYS-CON Events announced today that Golden Gate University will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Since 1901, non-profit Golden Gate University (GGU) has been helping adults achieve their professional goals by providing high quality, practice-based undergraduate and graduate educational programs in law, taxation, business and related professions. Many of its courses are taug...
SYS-CON Events announced today that Grape Up will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company specializing in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the U.S. and Europe, Grape Up works with a variety of customers from emergi...
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Recently, WebRTC has a lot of eyes from market. The use cases of WebRTC are expanding - video chat, online education, online health care etc. Not only for human-to-human communication, but also IoT use cases such as machine to human use cases can be seen recently. One of the typical use-case is remote camera monitoring. With WebRTC, people can have interoperability and flexibility for deploying monitoring service. However, the benefit of WebRTC for IoT is not only its convenience and interopera...
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...