Creating Password Protected MS WORD File

Hi,
i reported a program which creating password protected ms excel file using OLE2 objects in local harddisk of computer.
can i report same program with ms word file?
Can somebody help me pls?
Thanks.

Hello,
This is what you require
  GET PROPERTY OF word 'activedocument' = actdoc .
  CREATE OBJECT word 'WORD.APPLICATION' .
  IF sy-subrc NE 0 .
    MESSAGE s000(su) WITH 'Error while creating OLE object!'.
    LEAVE PROGRAM .
  ENDIF .
  GET PROPERTY OF word 'documents' = documents.
  CALL METHOD OF documents 'Add' = newdoc.
  call method of newdoc 'Activate'.
    CALL METHOD OF actdoc 'SaveAs'
    EXPORTING
      #1 = 'C:\file.doc'          "filename
      #2 = 1                      "fileFormat
      #3 = 0                      "LockComments
      #4 = 'passopen'             "password to open a workbook
      #5 = 0                      "AddToRecentFiles
      #6 = 'passmod'.             "password for write access

Similar Messages

  • Password protecting a Zip file in windows 7

    So I am trying to figure out how to password protect a zip file using the built in zipping utility in windows 7.  In windows xp and vista once you have created a zipped file you open the file and select file>add password.
    In windows 7 (currently using pro) there is no "add password" option, anyone have any idea why this is?  Or is there some other way of adding a password to a windows zip file that I am not aware of?  Am I being forced to add a 3rd party
    zip app in order to password protect files? 
    if so my other question is why would such a simple/convenient feature be removed from an operating system that is suppose to be superior then the previous?

    According to the Windows 7 Help file there is no such capability in windows 7:
    Can I protect files or folders with a password?
    No, you can't use a password to protect files and folders in
    Windows. However, some programs that run on Windows allow you to protect individual files with a password. For more information, check the Help for the program you're using.
    There are other ways to protect your files and folders in Windows. You can
    encrypt your files using Encrypting File System (EFS), manually specify who can access the folders or files by setting permissions, or hide them. Choose your method based on how secure the folders or files need to be.
    Encrypting is the most secure, while hiding the folders is the least secure.
    For more information about EFS, see What is Encrypting File System (EFS)? For more information about permissions, see
    What are permissions?
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • How to create password protected folder (with unlimited storage) on Mac?

    I want to create password protected folder on my mac. I tried the method where you create a dmg file and mount it whenever you want to use the folder and unmount it when you don't. However, this method only lets me store, for example, 2 gb data. I cannot store beyong that level as an error message pops up saying... "the following files cannot be copied because there is not enough storage space in the dmg file"
    How can I create a passpord protected folder which can store as much available space that is on my mac?
    Is there an application that does that? Suggest me some names if someone already is using something like that.
    Thanks much!

    You need to choose the size of the image when you create it. If you are getting that message, you only set the image to hold 2GB of data.
    If you choose a Sparse Disk Image or a Sparse Bundle Disk Image, you can set it to any size, however, it will only be able to store up to the space available on your Hard Disk. Physically, it will only be the size of the stuff you saved into it, but It doesn't shrink automatically when you remove things.
    A Sparse Bundle differs from a Sparse Image in that it writes the contents to small files so that when Time Machine sees changes, it only backs up the small file change, not the 100 GB (or whatever) of the total image size.
    Notice that having created a 10 TB disk image (as shown above), there is only 80 GB available on the mounted image as that is all the space I have available on the 500 GB drive.

  • I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options wer

    I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options were available to me.. I pay for pdf conversion to word and excel

    Password protection is ONLY available with Acrobat Standard or Pro. The PDF to Word converter is just what the name implies... PDF to Word... No encryption, no protection.

  • Password protect a Numbers file

    Hello friends, I was wondering how to password protect a numbers file. I'm creating a financial report and only some eyes can see it. Anyway to force a user to enter a password before it opens is the goal. I appreciate your assistance. Gary

    I advice against using the built in password function for really confidential data.
    Apple has not specified what level of encryption is used, and it is possible that the encryption level is so low that any hacker can open the file.

  • Writing/reading password protected zip/gzip files

    Hello All,
    is there anyway in java that i can
    write/read password protected zip/gzip files??
    thanks in advance.

    Have you looked in the Java Documentation, for instance the java.util.zip package?

  • How do you change the password protection for a file if you forget it?

    How do you change the password protection for a file if you forget it?

    Certainly not with Reader...

  • I'm trying to password protect a pdf file but I can see the bottom 1/3 of the window - how do I resize

    I'm trying to password protect a pdf file but I can see the bottom 1/3 of the window - how do I resize

    Do you know what the maximum resolution of your screen is?

  • How to password protect a zip file

    How can I password protect a zip file and if I email the file will the recipient need the password?

    I found a nifty tip to encrypt a zip file that is built into OSX.  The only issue is you have to use the command line (Terminal).  If you don't mind a little tinkering here is how you can encrypt your files to an encrypted zip without buying any other program.
    1. Open up a Terminal window on your mac
    2. Navigate "cd" to the directory where the file you what to make an encrypted zip file.
    3. Type:
         zip -e SecretEncryptedFile.zip FileToEncrypt.txt
    Note: the man pages have more than you ever wanted to know about the zip command: "man zip"
    To unencrypt simple double click on the file and type the password.  I have also unencrypted the files on a PC.

  • My Mac got hacked. I was working on a word document when the computer suddenly started typing meaningful sentences on its own that describes how the hacker is skillful. At the that time I was on a password protected wifi and file sharing was off.

    This is the first time I get hacked this bad. I was working on a microsoft word document when the computer suddenly started typing meaningful sentences on its own that describes how skillfull the hacker is. At the that time I was on a friends wifi network that is password protected (not sure about the encyrption), the Os X Firewall was on. I was using the admin profile, however, file sharing was off. I'm very careful not to install any suspecious 3rd party software.
    So far I have verified permissions and fixed some errors there, and changed passwords.
    Do I have to erase/format my computer and reinstall the Os? If so is it adequte to use the internet recovery tool or will it use old and possibly infected EFI/Root files?
    Would appreciate the advice of all the Mac experts out there. Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo launchctl getenv DYLD_INSERT_LIBRARIES; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; launchctl getenv DYLD_INSERT_LIBRARIES; echo; crontab -l 2> /dev/null; } | open -ef
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Password protecting a .FCP file?

    I have to use a shared workstation and we can not have separate login accounts. I would like to make sure that other users can not open some project files.
    1. Is there a way to make sure that a .fcp file can not be opened by someone else? password protect it?
    2. what about for a h.264 encoded file?
    Thanks.

    Create a small disc image in disk utility large enough to hold the project file.
    Pass word protect it, and save the project file to it.

  • Is there a way to password protect a single file in numbers?

    Is there a way to passwork protect a single file in Numbers?

    Not directly no - there is this work-around which should still work on iOS 6, or you could see if any of the third-party email apps in the app store support a password, or just access your account via Safari (you can create a homescreen shortcut for your account's login page)

  • Can I password-protect a PDF file?

    I'm trying to set up a site with a 'members-only' area that
    contains PDF files. Is there some way to password-protect the files
    themselves, or do I need to settle for a protected php page that
    links to the files. While it's unlikely that a non-member would be
    able to guess the filenames, it's possible that an ex-member who's
    username and password have been removed would still be able to
    access the files with a bookmark, as they're not protected.
    I understand that short of a commercial product to convert
    pdf to html, I'm stuck with the pdf format, but is there some way
    to embed the pdf within a html page?
    DW8 WinXP php mySQL

    You can actually create files and store them with different
    names, so as
    they can't be downloaded conventionally ...
    In most Windows, and I am assuming PHP setups - you can store
    files above
    the root and use a page to call them ...
    You protect them too - I think on a blanket (all instances of
    the file have
    the same password) approach is easier ...
    Or take a look at this
    http://www.rustyparts.com/pdf.php
    HTH's
    Gerry
    http://www.UsableContent.co.uk
    "tinmanjim" <[email protected]> wrote in
    message
    news:emguap$bo7$[email protected]..
    > I'm trying to set up a site with a 'members-only' area
    that contains PDF
    > files.
    > Is there some way to password-protect the files
    themselves, or do I need
    > to
    > settle for a protected php page that links to the files.
    While it's
    > unlikely
    > that a non-member would be able to guess the filenames,
    it's possible that
    > an
    > ex-member who's username and password have been removed
    would still be
    > able to
    > access the files with a bookmark, as they're not
    protected.
    >
    > I understand that short of a commercial product to
    convert pdf to html,
    > I'm
    > stuck with the pdf format, but is there some way to
    embed the pdf within a
    > html
    > page?
    >
    > DW8 WinXP php mySQL
    >

  • Can the adobe reader mobile app open standard password protected AES256 encrypted files (not Livecycle) made by Acrobat XI?

    I downloaded the adobe mobile reader for iOS just now and tried opening a pdf file created by Acrobat XI and optimized (no errors reported) for web and mobile devices the file was password encrypted  (*not livecycle*) using 256AES, compatibility acrobat X with restrictions allow: none, printing  allowed low rez.
    when acrobat mobile reader launched the pdf it required a password and even with the correct password used for changing security settings failed to open.
    how can people secure pdf's from unauthorized editing their work in Acrobat XI using (Acrobat X compatibility), standard password protection using AES256 bit encryption and open using the adobe mobile reader app ?

    I actually need at least three people to successfully open my free pdf using the Adobe Free acrobat viewer for mobile devices or my client want to remove the access for mobile devices link.
    Can anyone test please the free pdf that it opens on iOS or Android ?
    the guest checkout is enabled just need to put shipping info to access the Download File 2
    The wordpress link is below image
    mahalo in advance
    Source Supreme pdfSource Supreme

  • Creating password protected PDF

    I can create a pdf file using com.lowagie.text.pdf.PdfWriter and other classes in com.lowagie.text
    But I want to make my PDF password protected. Is there any way to make it password protected while using com.lowagie.text API.

    I could link you to the page that gives the answer directly, but I feel it is my duty to inform you that google will provide the answer with a very simple query: "iText password protected PDF" gave me the answer in a second.

Maybe you are looking for