Results 1 to 10 of 10

Thread: Disable Clipboard in Firefox

  1. #1
    Join Date
    Aug 2005
    Location
    Texas
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Disable Clipboard in Firefox

    I found this terrific piece which disables copy/paste by emptying the clipboard

    it goes like this:

    onload=setInterval("window.clipboardData.clearData()",20)>

    Works A-OK in IE and NS; Problem is it doesn't work in Firefox. Any one know of a one-size-fits all script that will work for all thee Browsers or a comparable line for Firefox?

    I know the debate on trying to block things like right-mouse clicks and copy/pastes and view sources ... let's not go there. Suffice it to say there is good reason why this Intranet application must try to disable the most obvious avenues for mis-use of data. I know nothing is absolutely hack-proof. But as the old saying goes, "Locks are on doors to keep honest people honest."

    So far I've been able to disable right mouse, most hot keys, toolbars, printing ... anyone want to suggest any other blocks?

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You can't empty the firefox clipboard, I'm afraid.

    Microsoft were foolish to allow it in Internet Explorer, IMHO.

    -cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Mozilla have a less frivolous attitude towards security than Microsoft. You cannot interfere with the operating system from Firefox.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2005
    Location
    Texas
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmmm .... how about a substitute string?? Something along the lines of when the data is sent to clipboard, then send "XXXXXXXXX" to the clipboard.

    I've read cr3ation's posts on the subject of the futility of blocking right clicks, etc. But honestly, in the real world there are sometimes really good business reasons to erect barriers if/when possible. Keep in mind my app is strictly an INTRAnet ... so niceties of user friendliness do not necessarily apply.
    Last edited by Lulu; 08-09-2005 at 09:01 PM. Reason: typo

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Not possible. You can't interfere with the clipboard in any way.
    What are you trying to achieve? Perhaps there's another way.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Aug 2005
    Location
    Texas
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    As described this is an INTRAnet for use in a sensitive dept. Am blocking all obvious avenues of printing or copying data. Needs to be strictly eyes-only. Doing OK with disabling IE and NS but Firefox is the killer. (I've also thought of the TempFile issue, and I've resolved that (so far)). If I can just disable copy/paste from Firefox I'll have the bulk of my avenues closed (I hope). As I said before, I know nothing is hackproof. But by putting up as many barriers as I can discourages crimes-of-opportunity. Or of someone being falsely accused of criminal conduct because they accidentally hit Ctrl+P and ended up with a printed doc in his hand. If, after all the obvious methods are tried and failed and someone still is determined to print or copy the data, that person would really have to 1) know what he/she is doing and 2) make out-of-the ordinary effort to get the data. This falls under the heading intentional misuse which, being a govt agency, can get a person into handcuffs.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Have you tried just keylogging the machines? That way you could see if someone copied/printed the data. This is far more secure than other methods, and you should be able to tell the difference between a mistake and intentional copying.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Aug 2005
    Location
    Texas
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Keylogging? Please define.

  9. #9
    Join Date
    Oct 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Disable Hotkeys

    How do you disable Hotkeys? I know how to disable the Right Click Menu but I've no idea how to stop people using hotkeys. Please Help!

  10. #10
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    *smacks head repeatedly on desk*

    There is NO reliable way of disabling browser features.
    At all.
    On any browser.

    It can ALWAYS be circumvented.

    -cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •