+ Reply to Thread
Results 1 to 3 of 3

Any way to prevent people from embedding a protected document in a new Word document?

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Any way to prevent people from embedding a protected document in a new Word document?

    Hi All,

    I hope someone can help me, but I fear I already know the answer to this question.

    I have a document that has macros enabled. The document is protected for filling in forms (so copy of text is forbidden). The macros control what is printed. The text is hidden and the macros unhide the various text so that if macros are disabled all you get is a blank sheet. In other words, I don't want anyone touching the text in the document, editing it in any way so that EVERYONE MUST use the macros.

    However I have recently seen online that you can remove protection by opening a new Word doc and Clicking Insert Object - Text From File which will take all the text out of the Word document you select and paste it into the blank document thus removing all protection and allowing the document to be edited.

    I don't like the idea of this (although I'm sure nobody in my work will know about this).

    Is there any way of stopping this from happening? Is there any trick that i can apply to the text in the protected document that, when copied into the new document it will not resemble the protected document?

    Any tips welcome.

    Thanks in advance,

    Andre
    Last edited by Alves76; 04-18-2013 at 04:27 AM.

  2. #2
    Forum Guru macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,655

    Re: Any way to prevent people from embedding a protected document in a new Word document?

    Hi Andre,

    You cannot prevent people using that approach.

    In any event, trying to control what is displayed/printed on a document using formfields via the 'hidden' font attribute is a waste of time. Despite your attempts to control what is displayed/printed, the final decision rests with the user, not the form designer. All one needs to do to circumvent your attempt is to turn on Word's hidden text dsiplay and/or print options and all will be revealed.

    Accordingly, if you're really concerned about effective control, you need to programmatically control whether the content with which your are concerned is actually present in the document.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Re: Any way to prevent people from embedding a protected document in a new Word document?

    Hi Paul,

    Thanks for your comment. I feared that there was no way around my problem.

    As far as I can see this is the only way that the common user can circumvent my security. The userforms cannot be closed without closing the document. The macros are password protected. The text isn't hidden to stop people seeing what the text is, the macros let the user select which part of the document they want to print, but the object is that users MUST use the macros and can't cheat the system by printing a duplicate copy.

    That said, I designed somewhat of a CAPTCHA to use instead. I've saved a small jpg that isn't in the original document, but the code grabs it from a location that nobody will be able to find (without a lot of luck) and places it in the bottom left hand corner thus highlighting to a reviewer of the document that it was generated in the correct manner.

    It's pretty much like your suggestion - it's a way to control what's present in the document.

    I appreciate you taking the time to respond.

    Kind regards,

    Andre

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

X vBulletin 4.1.8 Debug Information

  • Page Generation 0.05769 seconds
  • Memory Usage 8,884KB
  • Queries Executed 14 (?)
More Information
Template Usage (31):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (3)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (4)navbar_noticebit
  • (6)option
  • (3)postbit_legacy
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (4)showthread_bookmarksite
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper
  • (1)vbseo_linkbackmenu_entry 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (39):
  • ./vbseo.php
  • ./env.php
  • ./vbseo/includes/functions_vbseo.php
  • ./vbseo/includes/functions_vbseo_pre.php
  • ./vbseo/includes/functions_vbseo_url.php
  • ./vbseo/includes/functions_vbseo_createurl.php
  • ./vbseo/includes/functions_vbseo_db.php
  • ./vbseo/includes/functions_vbseo_vb.php
  • ./vbseo/includes/functions_vbseo_seo.php
  • ./vbseo/includes/functions_vbseo_misc.php
  • ./vbseo/includes/functions_vbseo_crr.php
  • ./vbseo/includes/functions_vbseo_cache.php
  • ./vbseo/includes/functions_vbseo_hook.php
  • ./vbseo/includes/functions_vbseo_startup.php
  • ./includes/config.php
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/functions.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/functions_cforum.php
  • ./includes/functions_facebook.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (46):
  • init_startup
  • friendlyurl_resolve_class
  • database_pre_fetch_array
  • database_post_fetch_array
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • fetch_musername
  • cache_templates
  • template_register_var
  • parse_templates
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • reputation_image
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • showthread_bookmarkbit
  • navbits
  • navbits_complete
  • showthread_complete


Search Engine Friendly URLs by vBSEO 3.6.0 RC 1