CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CKEditor, Spellchecker.net and privacy
Pages: [1] 2

Author Topic: CKEditor, Spellchecker.net and privacy  (Read 5748 times)

pat.gardner

  • Guest
CKEditor, Spellchecker.net and privacy
August 16, 2010, 11:05:05 pm
Hi all,

Recently, when demoing a product which includes civiCRM to a client, we noticed that their access to civiMail functions in IE was a little impeded. Messages about one script timing out when we tried to upload an HTML file.

Having a look later on, the root of this problem seemed to be the spell checking function. This is part of CKEditor, which is used in (I think) all instances of civiCRM since 3.1 or so? Prior to that I seem to recall that it might default to whatever you were running in Joomla or Drupal. CKEditor's spellcheck function sends all text in fields that it is used for to a third party server - svc.spellchecker.net, and there's kind of graphic configuration to change this.

Some people might have a bit of a problem with their data going through some other server, as this script is likely used in any rich text fields, not just the mailing.

to fix this, the documentation for CKEditor seems to recommend disabling the automatic startup of this plugin, or using another configuration option. However, the 2nd configuration option only seemed to function in Safari or Firefox (as it relies on the spell check built into both those browsers).

Alternatively, you can disable this plugin entirely by finding:

packages/ckeditor/ckeditor.js

and adding the line:

config.removePlugins = 'scayt';

Thought this might be worth posting, as I didn't see another topic that mentioned this. There's a few others that touch on other aspects of configuring CKEditor, but not this in particular. Hope this saves someone a bit of time or effort!

Andrew Perry

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 1
  • Building empowering tools that comply with rules
    • Community Builders Australia
  • CiviCRM version: 3.x, 4.x
  • CMS version: Joomla 1.0.x, 1.5.x -> Drupal 6.x, 7.x, WordPress
  • MySQL version: 5.1, 5.5, 5.6
  • PHP version: 5.2, 5.3, 5.4
Re: CKEditor, Spellchecker.net and privacy
August 17, 2010, 01:59:16 pm
Thanks for sharing this Pat

Just to pick up on your title of the post, the privacy implications of having personal information sent to a third party service are significant and could breach national laws, therefore we think that this "hidden feature" should be switched off in CiviCRM by default.

I have posted a bug here: http://issues.civicrm.org/jira/browse/CRM-6675
Community Builders Australia Pty Ltd
www.communitybuilders.com.au

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CKEditor, Spellchecker.net and privacy
August 18, 2010, 01:55:26 pm
Andrew / Pat - We did some research on this and it seems that neither IE nor Chrome include native spell-checking functionality. If we turn-off the ckEditor / tinyMCE spell-checking "by default" - this means that a significant number of our users would not have spell-check at all. This is the first time we've heard about the privacy issues for spell-check web services - so I'm a bit reluctant to force users who want spell-checking in CiviCRM to have to modify a core file.

Can you provide links / more info to verify the privacy implications for this?

Would also be great if other folks could chime in here.
Protect your investment in CiviCRM by  becoming a Member!

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CKEditor, Spellchecker.net and privacy
August 18, 2010, 07:29:05 pm
I can see both sides. Given our area of specialty we'd vote for disabling by default.

By the way what is the locale for that spellchecker? If it's U.S. then for a certain percentage it would be wrong by default anyway.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CKEditor, Spellchecker.net and privacy
August 19, 2010, 03:12:56 am
Disabled auto spellcheck

config.scayt_autoStartup = false;

IMO this might be better rather than completely removing the plugin.

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CKEditor, Spellchecker.net and privacy
August 19, 2010, 03:16:35 pm
For ckEditor, we've decided to disable automatic spellchecking (since this happens w/o user knowing it), but leave the Spell-check Button in place. Instructions for modifying these behaviors are included in the issue tracker issue:

http://issues.civicrm.org/jira/browse/CRM-6675

Turns out the tinyMce spell-check is currently broken. I've filed an issue to fix it - scheduled for 3.2.3 if possible.

http://issues.civicrm.org/jira/browse/CRM-6689

Protect your investment in CiviCRM by  becoming a Member!

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CKEditor, Spellchecker.net and privacy
August 25, 2010, 12:42:02 pm
I set up a custom config.js under my custom path as described, but it doesn't seem to change anything. Am I putting it in the right place: under <path_to_custom_php>/packages/ckeditor/config.js ?

I tried clearing browser cache, drupal cache, civicrm_cache.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CKEditor, Spellchecker.net and privacy
August 25, 2010, 02:35:16 pm

i'm pretty sure the js/css files dont use the the file path over-riding

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CKEditor, Spellchecker.net and privacy
August 25, 2010, 09:55:11 pm
The jira issue above says

"If you are modifying config.js you should first have configured a Custom PHP Path under Global Settings > Directories, and place your modified version in the custom path."

and the help text on site preferences says similar.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CKEditor, Spellchecker.net and privacy
August 27, 2010, 01:25:48 pm
I think the help text needs to change since the override doesn't seem to work, at least I can't figure it out.

But here's another option if anybody is looking to disable the button without hacking. Put this in extras.css

#cke_30 {display: none;}

Although there's no guarantee that id will stay the same in future.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: CKEditor, Spellchecker.net and privacy
August 27, 2010, 03:57:38 pm
Folks,

Coming back to the issue of privacy itself, my understanding (and I am an Australian, so it could be upside-down!) is that privacy relates to information which identifies an individual. So the key question is does the information being sent to the third-party site identify an individual, and secondly does it reveal any information about that individual?

Another factor to consider is that if the information is being sent in an email, then the information is about to be made public domain (subject to whatever email security one has in place). That factor mitigates against privacy concerns.

A third factor is the API and design of the service. I did a quick search and couldn't see anything on this. Perhaps a way forward is to understand what spellchecker.net does with this information, rather than cutting off the feature. For instance, "spell check as you type" suggests the API is dealing with words rather than sentences,

Ken

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CKEditor, Spellchecker.net and privacy
August 27, 2010, 04:58:15 pm
Logic and the incredibly low probability that something might happen only matters a little. It's about limiting legal liability and for the orgs that use civicrm to store certain types of data they want potential customers to feel confident about contacting them for whatever service they are providing.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: CKEditor, Spellchecker.net and privacy
August 28, 2010, 06:25:16 am
@demeritcowboy,

Could you clarify what is this 'legal liability' issue? I have recently been thinking through our Privacy Policy and looking at the Australian National Privacy Principles. In that context, I just can't see a concrete privacy issue with the spell checker.

Where is the spell-checker used? I just did a quick audit of the places where a HTML editor is used. Most of the uses are clearly not private: CiviEvent information and registration pages; CiviContribute contribution pages; mail forwarding. No privacy issue here, unless I'm consciously abusing someone's privacy.

Some uses could concern private information: inserting a token in a CiviMail; or sending an email direct to a contact. With the former there is no privacy issue, as the spell-checker only sees the token, not the value that CiviMail inserts during sending. With the latter, we finally arrive at a case where there might be a valid concern.

But at this point I'm about to send an email. Emails occupy a low point on the privacy scale. I'm not sure we earn points for avoiding a spell-checker to protect information, and then send it out in an (unencrypted) email.

An analogy might be useful. If I host CiviCRM with a hosting company, all my data is in the hands of a third-party. I'm sure most of us do that, and a good proportion of us have never read the privacy policy of our host.

Ken

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: CKEditor, Spellchecker.net and privacy
August 28, 2010, 06:47:35 am
I've just written to spellchecker.net asking for information about their corporate privacy policy, and details about their API. I'll post back once I hear something.

I would be disappointed to lose spell-checking out of fear. (I'd rather lose it on the basis of knowledge.) I read a report recently on people's perceptions of credibility on the web: and typo's have a measurable negative impact on perceived credibility. So I'd vote to keep the spell-checker unless we have a reason to toss it.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CKEditor, Spellchecker.net and privacy
August 28, 2010, 06:51:12 am
Quote from: ken on August 28, 2010, 06:25:16 am

Could you clarify what is this 'legal liability' issue? I have recently been thinking through our Privacy Policy and looking at the Australian National Privacy Principles. In that context, I just can't see a concrete privacy issue with the spell checker.


I don't see either a clear cut abuse, but any information you send to an external provider is something you are likely to have to explain in case of an audit on privacy. As the added value of sending data to an external spell checker isn't obvious (at least if you use a decent browser), I'd rather not send it, so I won't have to go through the details of what is send, to which extend it potentially contains data about the members (or not), what kind of data, if the contacts are properly informed, if bla bla bla.

Much easier to explain that we don't transmit any data to any spell checker.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CKEditor, Spellchecker.net and privacy

This forum was archived on 2017-11-26.