How to write-protect a document at the time it is opened?

is it possible to request a password from a user at the time he is opening a document (the password "quality" does not matter - it can be a string predefined in a macro), so that in the case the password is not submitted correctly, a document is forcefully opened in a read-only mode, allowing someone else to open it with password in a full-access mode?
Thanks!

Hi shortwedge3,
You can use [https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/ OpenDownload2] extension to get '''Run''' option while downloading files using '''Firefox'''

Similar Messages

  • How to write a query to get the time difference of two varchar type time columns

    Hi,
    I want to get the time difference between the two varchar type columns.please see the attached image for more details:
    My requirement is like:
    timestarted
    timeended
    timediff
    9:00:00
    10:00:00
    1:00
    9:15
    9:30:00
    0:15

    Storing time alone as VARCHAR2 value is a incorrect design. Always store it as DATE or TIMESTAMP.
    If you already have a messed up design and cant change it, then you need to convert your VARCHAR2 time into a DATE or TIMESTAMP and find the difference. I have converted it to TIMESTAMP and obtained the difference as INTERVAL.
    SQL> with t
      2  as
      3  (
      4  select '09:00:00' timestarted, '10:00:00' timeended from dual
      5  union all
      6  select '09:15:00' timestarted, '09:30:00' timeended from dual
      7  )
      8  select timestarted
      9       , timeended
    10       , (timeended - timestarted) day to second diff
    11    from (
    12          select to_timestamp('01011900' || timeended, 'ddmmyyyyhh24:mi:ss') timeended
    13               , to_timestamp('01011900' || timestarted, 'ddmmyyyyhh24:mi:ss') timestarted
    14            from t
    15         );
    TIMESTARTED                                        TIMEENDED                                          DIFF
    01-JAN-00 09.00.00.000000000 AM                    01-JAN-00 10.00.00.000000000 AM                    +00 01:00:00.000000
    01-JAN-00 09.15.00.000000000 AM                    01-JAN-00 09.30.00.000000000 AM                    +00 00:15:00.000000
    SQL>

  • How to write an xml Document to a flat file using JAVA....

    Can any one help me out.....
    How to write a XML Document to the current filesystem using JAVA....
    without using com.sun.xml.tree.*....
    Document xmlDoc;
         Node rows = (Node) xmlDoc.createElement("ROWS");
    xmlDoc.appendChild(rows);
    and i have to write this xmlDoc to a file called(abc.xml) for further use...

    Have you considered using JDOM? ( www.jdom.org )
    The XMLOutputter class can write the Document to a file. ( The Document however will be an org.jdom.Document object ).
    If you are weary of a new API, you could just create a new File object called abc.xml and stream the data from the XML Document you have to this new File object.

  • How to write Protect endprotect concept in Smartforms

    hi
    can any one suggest me
    How to write Protect endprotect concept in Smartforms
    i have some content to coem without break in SMARTFORM
    how to do that
    Thanks & Regards
    kalyan
    <thread moved, has nothing to do with ABAP Objects. Please choose your forums more carefully in future>
    Edited by: Mike Pokraka on Sep 26, 2008 12:50 AM

    Hi,
    For 4.7 version if you are using tables, there are two options for protection against line break: 
    - You can protect a line type against page break.
    - You can protect several table lines against page break for output in the main area.
    Protection against page break for line types 
    - Double-click on your table node and choose the Table tab page. 
    - Switch to the detail view by choosing the Details pushbutton. 
    - Set the Protection against page break checkbox in the table for the relevant line type.  Table lines that use this line type are output on one page. 
    Protection against page break for several table lines 
    - Expand the main area of your table node in the navigation tree. 
    - Insert a file node for the table lines to be protected in the main area. 
    - If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. 
    - Choose the Output Options tab page of the file node and set the Page Protection option.   All table lines that are in the file with the Page Protection option set are output on one page. 
    In 4.6, Alternatively in a paragraph format use the Page protection attribute to determine whether or not to display a paragraph completely on one page. Mark it if you want to avoid that a paragraph is split up by a page break. If on the current page (only in the main window) there is not enough space left for the paragraph, the entire paragraph appears on the next page. 
    Regards,
    Himanshu Verma

  • How to write a procedure for update the table

    Hi all
    can any body please tell me how to write a procedure to update the table......
    I have a table with about 10,000 records...........Now I have add a new column and I want to add values for that like
    registration Code Creidits
    13213 BBA
    1232 MCS
    I had add the creidit now i want to update the table.........the new value want to get by SQL like
    Creidit = select creidit from othere_table...........
    Hope u can understand my problem
    Thanks in advance
    Regards
    Shayan
    [email protected]

    Please try the following --
    update Program_reg a
    set TotalCreidit = ( select tot_cr <Accroding to your logic>
                                from Program_reg b
                                where a.Registration = b.Registration
                                and    a.Enrollment = b.Enrollment
                                and    a.code = b.code
    where a.Registration in ( select distinct Registration
                                        from Program_reg );
    N.B.: Not Tested....
    Regards.
    Satyaki De.

  • How to write a pgm to change the existing encrypted password

    Hi all,
    can anybody tell me how to write a pgm to change the existing encrypted password.
    thanks in advance.

    Well, it's going to depend on how it's implemented in the current system.
    But basically it's going to look a lot like the current login actions. Presumably you have something that takes the user ID and password, encrypts the password, looks up the encrypted password in the database matching that user ID, and compares them. This functionality would also take a new password (preferably twice so they can be checked for consistency), and if the existing encrypted passwords match, it will encrypt the new password and put it in the database where the old one was.
    And if the application has a mechanism for new users to sign up, it'll look a lot like this as well.
    But I'm just guessing. This is all going to depend on how the existing functionality is written. Probably the best thing you can do is talk to a programmer at your organization who has worked on the application, and ask them for help.
    Hope this helps anyway.

  • How can I visualize 2 documents at the same time

    How can I visualize 2 documents at the same time?
    thanks

    Adobe Reader on mobile devices allows to view ONE document at a time.

  • How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column

    Please Help!!!
    How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column.
                                      January 2014         January
    2013                            +/-
                    Region   Entry   Exit  Total    Entry   Exit   Total   (Total of Jan2014-Total of Jan2013)
                    A               2         3      
    40        5       7        30                    40-30= 10

    What is a table structure? Sorry cannot test it right now..
    SELECT <columns>,(SELECT Total FROM tbl WHERE Y=2014)-(SELECT Total FROM tbl WHERE Y=2013)
    FROM tbl
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How can I attach a document to the answering email form?

    How can I attach a document to the answering email form?

    Hi;
    I am not sure what you mean by the answering email form, can you describe a bit more what you are looking to do?  Do you mean the "Email Receipt" that you can set up so the form filler receives an email after submitting their form?
    Thanks,
    Josh

  • Is there a way to password protect a document in the app Pages

    Is there a way to password protect a document in the app Pages?

    I'm using iOS 7.1 on my iPad - and yes, you can click the little spanner (wrench) icon when you're in the document you want to protect, and there's an option "set password" towards the bottom of the menu.

  • How do i scan a document from the printer to send in an email to some one else i have a HP-B209

    how do i scan a document from the printer to send in an email to someone else

    Hi!
    To scan:
    You may press the start scan button on the printers control panel or use the HP solution center that must be installed in your computer to scan a document or photo.
    Scan to email:
    Some printers don't have the option in the control panel for scan to email. Mostly it is with the HP solution center software that should be installed in your printer.
    Note:
    For Windows the software is called HP solution center
    For Mac it is called HP utility
    *I am part of the HP family  but I do have my own stand
    *Clicking the Kudos at the left is highly appreciated
    *Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.
    *Have a HP "Happy Printing" day! =)

  • How do I change old documents to the new iWorks

    How do I change old documents to the new iWorks

    llamasprinkles wrote:
    How do I change old documents to the new iWorks
    What kind of "old documents" are you talking about, what format, where are they, etc?

  • How to write java code to read the pixel color in some place of screen?

    Hello all:
    How to write java code to read the pixel color in some place of screen?
    The java application iteself doesn't have any GUI.
    thank you
    -Danel

    See java.awt.Robot

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How do I backup my documents to the cloud?

    How do I backup my documents to the cloud?

    Just to expand on what Rysz said, iCloud - at this time - excels at letting you sync certain data between your Apple devices. If you have more than one Apple device (computer, iPhone, iPad, etc) then your calendar events from one device show up on another. The bookmarks in your browser can be the same on all devices - add a bookmark on your computer and it will be added to your iPad. Contact information, notes, reminders, etc can all be shared. If you have an iOS device iCloud can be used to back up important information - not the entire phone or iPad but your settings and configurations. Due to Apple’s initial iOS design iCloud doesn’t do a great job as a repository of data like word processing documents and it isn’t for backing up your computer data.
    If you want to back up your computer - and you really should - invest in a good external drive (or two) and use a backup program. Apple’s TimeMachine is a good first start but it is always good to have a second backup and many of us like having a backup that can be booted into. This is a clone and two good cloning programs are CarbonCopyCloner and SuperDuper! A clone is a backup that you can immediately boot your computer with - TimeMachine’s backup cannot do that.

Maybe you are looking for

  • PLSQL portlet - problem calling stored procedure -

    Good day folks. My portal version 10.1.2. I have a dynamic page with multiple rows. For simplicity, example here has two columns => id and value. The initial dilemma - The stored procedure specified in the action attribute of the <form> tag has to ha

  • I lost my phone and I put in a lost mode and also erased all in my phone.can anybody use my phone from now on?

    lost my i phone 5 put to stolen mode and erased remotly.is anybody can use my phone from now on ? please need help

  • BADI for BP Search

    hi experts, we are implementing CRM 2007, we have already implemented CRM 4.0, Winclient, in CRM 4.0 the BADI - CRM_IC_BP_SEARCH, is triggered for duplicacy check in winclient when agent tries to check for BP existing or not. as CRM 2007 is having We

  • Alv grid-checkox

    hi In ALV i am displaying my output by using FM REUSE_ALV_GRID_DISPLAY, and have 2 colums as checkboxes.. but when i check them after running my ALV the 'X' value which should  come in my internal table is not reflecting.. so what should be done??

  • Depreciation after modernization

    Hi all, our client has a special request. We maintain depreciation area for tax depreciation and another for book depreciation. After modernization, the client wants to depreciate (only in the book depreciation area) as in the following example (APC=