Server side PDF sanitize

Have various web applications that accept public input of PDF files that are then later downloaded by large populations of known users for viewing and editing. These are flat text - no animations. Looking for options to sanitize files before use by others of any possible viruses or other malware. Any ideas?  Getting all users to turn off javascript will not be successful for all user base.

Sounds like you need to use a 3rd party, server-side application.
Ben

Similar Messages

  • Server side creation of pdf files for users

    Im looking for a way for users of my website to save their data as a .pdf file on their hard drive.  I want to be able to do this seemlessly for them on my end and not require them to have a client-side .pdf creator like PrimoPdf of something similar.
    Is there a way to do server-side pdf file creation for my users?
    Thanks!
    PS: This is a Java website and a linux server.

    You could utilize Apche FOP (http://xmlgraphics.apache.org/fop/) project for that purpose.
    In my company we've used that to convert IBM Lotus Notes documents into PDF via some XML/XSL intermediate layer.
    On the other hand - while in theory you could run Acrobat Pro on your server in embedded mode and call that server via some layer even from Java clients - I think that is not allowed by Adobe Acrobat Pro license. If you could run it embedded on your server - then you could try to prepare your specific plugins for it with Acrobat SDK and then you'll achieve what you need in required PDF creation.

  • Server Side Caching of pdf files

    Hi all,
    I've run into a rather odd problem that I can't find a way around. I've created some URL iViews to display some html files and some pdf files. I've adjusted the Load parameters for these iviews to the following:
    Allow Client-Side caching: Yes
    Cache Level: Shared
    Cache Validity Period: 12 hrs
    Fetch Mode: Server-Side
    I've found that the html URL iViews work fine like this, but the pdf URL iViews do not. The pdf ones seem to just hang.
    I've noticed that if I change the Fetch Mode to client-side for the pdf files, the iview then begins to work. However, I don't believe that this is the way that I want to configure my URL iviews. I believe that I want them all to be server-side cached.
    I've followed the instructions on 'setting up system properties for proxy server' (System Administration -> System Configuration -> Service Configuration -> Applications -> com.sap.portal.ivs.httpservice -> Services -> Proxy). After making these configuration changes, I've stopped/restarted portal services. The problem still occurs.
    Does anyone have any idea as to what may be causing this problem and how do I fix it?
    Thanks!
    -Stephen Spalding
    Web Developer
    Graybar

    Hello.
    I have the same problem.  When I tried open a pdf file with  fecth = server-side,  I waitting for 500 seconds... But if I tried open with Fetcf = clien-side I only wait 2 seconds.
    Did you found the solution?
    Thanks.
    Paco.

  • Sing a PDF document on the server side

    Hi all, i make on the server side a pdf document automaticly with php. Now I want make an script or a programm that automaticly signs my pdf dokumets.
    Do anyone know more about this scripts or programms in Java, that is running on a server?
    Best regards
    Nikolay

    When I sing, it is usually Girls On Film or Hungry Like The Wolf but I know that Percy Blakney has a fondness for Haircut 100.
    Hope That Helps.
    Oh, and by the way, try doing a search on Google. You'll get quite a few results back for Java and PDF, tovarisch.

  • PDF Merge software on Server side

    Hi,
    Do you use any PDF Merge software on Server side that combines the many PDF files (originally from Broadcaster) into one PDF? This final PDF file should have the Table of Contents with the corresponding page numbers. Therefore, this software should stamp the page number sequentially on the final PDF.
    Please recommend it and the environment where it resides (Windows server/AIX/Linux). Thanks in advance for your help.
    Regards,
    Ba

    I used 2 modules from PDFlib on Linux with Perl to merge PDF files and the modules are:
    1. PDFlib+PDI
    2. PDFLib TET
    Ba

  • PDF Compare - Server Side

    It looks like using the below code one can automate comparing of two PDF documents. I wish to know if Acrobat X Pro can be used for a server based automation and if not which version is advisable. We wish to automate PDF compare on server side to work with existing .Net based solutions. Any help / guidance is highly appreciated.
                 AcroAppClass acroApp1 = new AcroAppClass();
                acroApp1.Hide();
                AcroPDDocClass acrpDoc1 = new AcroPDDocClass();
                acrpDoc1.Open("c:\\MoreInformation.pdf");
                acrpDoc1.OpenAVDoc("BaseLine");
                AcroAppClass acroApp2 = new AcroAppClass();
                acroApp2.Hide();
                AcroPDDocClass acrpDoc2 = new AcroPDDocClass();
                acrpDoc2.Open("c:\\MoreInformation1.pdf");
                acrpDoc2.OpenAVDoc("Revised");
                AcroAVDoc avDoc = new AcroAVDoc();
                AcroAppClass acroMainApp = new AcroAppClass();
                acroMainApp.MenuItemExecute("DIGSIG:CompareDocuments");
                avDoc = (AcroAVDoc)acroMainApp.GetActiveDoc();
                Acrobat.CAcroPDDoc acrpDiffDoc = (Acrobat.CAcroPDDoc)avDoc.GetPDDoc();
                bool save = acrpDiffDoc.Save((short)PDSaveFlags.PDSaveFull, "c:\\compared.pdf");

    Acrobat can NOT be used on a server.

  • Save editable pdf on server side

    Hiii Friends ,
    I have create editable pdf . Can I save this pdf on server side.
    Thanks

    Hiii Paul ,
    I have an another question. As I told ,I have PDF form created in Adobe LiveCycle Designer.
    I put on Submit button connect to my server URL .
    Now when I access this form , on web-server , It give warning each time
    Acrobat is attempting to connect my server url.
    If you trust the side , choose allow
    Can I block this warning message.
    Thanks

  • Designer 8 pdf not running server side

    Hi there
    Forms I have built using Designer 8.0 and deployed on a W2K server work fine if the Client has the same name DSN and can connect to the same backend database otherwise the pdf loads in the browser but fails to populate the fields.
    The JavaScript that is used to make the connection and call the data is set to run on both client and server.
    Am I missing something? Should Designer 8.0 also be installed on the server as well as the 'build' machine (these are all .NET 2.0 Applications)?
    Any help in pointing me in the right direction would be most appreciated!

    Yoda
    I'm still trying to get an answer from Adobe about LiveCycle Forms.
    To be honest I've not tried using pdf forms for inserting or updating, only to populate - like insurance report forms - based on data already held.
    Used to use APToolkit with asp, but that is involved coding. The downside to LiveCycle is it won't support POST so SELECT WHERE critera has to be via the address bar!
    If I get any answers I'll let you know! Just before 8.0 came out I did actually get a call from Adobe sales and they assured me if I upgraded LiveCycle would work fine server side (and I wouldn't need and other 'additions'), but.....

  • Scheduling web intelligence reports from SAP EP Portal : Server Side Trust

    Hello,
    We have set-up SSO between SAP EP 701, SAP BI 701 and Business Object XI 3.1  to allow users to access reports without having to sign-on again as explained here :
    /people/ingo.hilgefort/blog/2008/09/19/businessobjects-and-sap--configure-sap-authentication
    But, we have recently been contacted by some users because when scheduling Webi Report from a link within the portal they have the following errors :
    u201CA database error occured. The database error text is: Unable to connect to SAP BW server System received an expired SSO ticket. (WIS 10901) u201D
    The user told us that he doesn't encounter the error when :
    Login in directly to the BO Infoview (without SSO from the SAP Enterprise Portal.)
    The first Webi scheduling is succesful from the portal (I suppose because the portal token is still valid)
    I understand that we also have to configure the Server Side Trust between BO Enterprise server and the SAP BI7 backend as explained here , but I do not really understand its purpose
    https://websmp106.sap-ag.de/~sapidb/011000358700001646962008E/XI3-1_BIP_SAP_INSTALL_EN.pdf
    I've found a similar discussions here ;
    Issue with SAP Single Sign-On and Scheduling Reports
    I still have some questions :
    If we configure the Server Side Trust between BO Enterprise server and the SAP BI7 backend .
    The Portal Logon ticket will remain an issue at some point of time , does it mean tha the WeBi report job sheduling should not be perfromed from the SAP EP Portal ?
    We haven't configured the Server Side Trust , yet the users told us that they are able to schedule webi report directly from the BO Infoview ? How is it posible ?
    Thank you in advance for your help.
    Regards.

    Thank you Mr Hilgefort for your detailled explanations.
    I now have to provide some explanations to my managers, and to be honest , there are still some points that
    are unclear to me, and it would be extremely helpful if could confirm (or not) the follwoing points.
    When scheduing Webi report from the sap portal, we're getting SSO errors.
    SAP provide the follwoing note explaining how to extend the validity of the J2EE token (Portal token), but this is not a long term solution, at certain point of time the ticket will expire. Webi shceduling should not be perfromed from the Portal.
    Sap note 1352127 - Scheduled Webi report fails with: A database error occurred. The database error text is: Unable to connect to SAP BW server System received an expired SSO ticket
    Webi Scheduling should be performed from BO Infoview. SNC should be configured between BO server and SAP BI7.0 backend.
    We should Configure Server SNC as explained in the BusinessObjects XI Integration for SAP Solutions Installation and Administration Guide at Chapter "Configuring SAP for server-side trust". (1341043)
    The SAP Portal is not involved here and is not an option even with the configuration of SNC/Server side trust.
    thank you for your patience.
    Best Regards.

  • Server Side Includes with .irpt pages

    I am intrested in using server side includes within my .irpt pages for example
    <!#INCLUDE FILE="file.inc">
    specifically inside of my applet tags to reference a standard set of parameters that I would like to be passed into my display templates.  Does xMII have a similar representation of server side includes for .irpt pages?

    It might make your head explode, but in a good way...
    Also, you'll need 11.5 or newer to run this. There are so incredibly many opportunities that this might open up for you to deliver not only static, but also dynamic embedded server-side content.
    There are many aspects of xMII that are largely untapped.  A few common ones are the ability of the Runner servlet (which invokes xMII BLS transactions) to stream virtually any type of content back to the requestor (XML, HTML, text, images, PDFs, Excel, whatever).
    The other feature that not too many people use is the ability to use an xMII BLS transaction as a "stylesheet".
    Lastly, there is the little-known "<SERVLET>" tag that can be used in IRPT pages.
    Put all these pieces together, and amazing things can be done.  The example I'm going to show you uses a BLS transaction, but it can also be done with an XSL stylesheet (if the desired included HTML is static).  But let's go for the cool approach...
    Let's assume you have some "stuff", such HTML page content, that you want included in a specific position on your web page.  Let's also assume that this "stuff" resides in a file accessible at http://localhost/MyInclude.html (the file extension doesn't really matter).
    Create a new BLS transaction with no inputs and an output of type String (the name of the output doesn't matter - but in our case, let's assume you name it HTMLOutput).  To workaround a cosmetic bug (which will be fixed in a future patch), you should also create a second output (doesn't matter what name or type) - so add one called "DummyOutput" of type String.  Not worth explaining why - just do it. 
    Next, add either a TextLoader or HTMLLoader action (in the Web group) to your transaction (they both do the same thing, actually - just different icons).  In the Output links tab, assign the StringContent of the loader action to the transaction output.  This basically accomplishes the loading and streaming of your included "stuff".
    Save this transaction.  Let's save it in a folder called CoolStuff, with the name IncludeTest.
    In your IRPT page, add the following code where you want the "stuff" to appear.
      <SERVLET NAME="Illuminator">
           <param name="Stylesheet" value="xacute://CoolStuff/IncludeTest" />
         <param name="OutputParameter" value="HTMLOutput" />
         <param name="Output-Content-Type" value="text/html" />
         <param name="Content-Type" value="text/html" />
      </SERVLET>
    Save the IRPT page, load it, and you're in business!
    You can probably already start to envision to possibilities for adding more sophisticated business logic to create "dynamically" embedded content in your IRPT pages...
    Best regards,
    Rick

  • Acrobat form with server side submit, posting blank data

    Read more
    Acrobat form with server side submit, posting blank data,
    thanh xả tràn
    I have a PDF form which gets submitted to the server using a submit (server-side) button. The data is then received in XML format by a ColdFusion component which does some validation and stores it into the database.
    This PDF form is usually filled in by our clients using Adobe Reader 8 or below. While most of the times(and I mean like 96-97% of the times) everything goes well, at times we receive blank data into our database!! This renders couple of other features in our application useless as they try to parse an XML which does not exist.
    I do believe that this is not a problem at the ColdFusion side because all it does is trim(ToString(toBinary(GetHttpRequestData().content))).
    Does anyone has a clue as to why the data will be lost upon form submission?? I have done a lot of googling around it but in vain!

    There is an outside chance someone is just playing with you and submitting a blank form. Not uncommon if someone is not too familiar with forms.

  • Poriblems with Server Side Include

    I amtrying to convert to Spry Menus using SSI. into a template.  been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
    when in using Dredamweaver CS5   and  do a server side I have major issues at the differeent levels
    i have the file in a directory off the site root called  Includes
    the file i am trying to include
    using a page at the root level my statement using document relation is
    <!--#include file="Includes/Navbar.html" -->
    works fine   channg to site relation does not work   Ok so far so good
    however a page in a lower level director gets the dreaded
    [an error occurred while processing this directive]
    and i get an error
    [Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
    and also
    Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    the php errors don't seem mahor although they seem to have i have another iisue or are the related
    but that aside
    If I move the include file to the same level as the pade with approprirate include statement no problem it works
    if i move it to a subditrectory  then it doesn't work
    summary
    i can get SSI to work for page on the root level using Includes from a subdirectory
    but on other level I must have the include in the same directory with the page
    any thoughts??

    Your menu links are inside an include file.  There should be nothing else inside that file except the list tags, classes & hyperlinks.  Links are relative to the parent page(s) in which they will occur.
    All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
    Local Files Panel:
         -Includes
              menu.html
              footer.html
         +Styles
         +SpryAssets
         -Templates
              main.dwt
         about.shtml
         contact.shtml
         index.shtml
         services.shtml
    Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that.  For best results, keep all your site pages at root level.
    Hope this helps,
    Nancy O.

  • Displaying server-side include in DW8

    Sorry if this has been asked before? I did search and
    couldn't find it (this site is painfully slow and searching is
    worse)
    I am trying to figure out how to make DW8 show my server-side
    include files in the design view. My site uses SSI for all headers
    and footers, so every page has at least 2 SSI's. They show up as
    the SSI mark on the page, but not the code or graphical
    representation of what is in the SSI. I need to have that code
    snipet show up in my design view. The only way I have been able to
    figure out how to do it, is to reinsert the SSI again from the
    menu, and then delete it. Doing it that way, the original ssi that
    is listed on the page will display graphicly in the design view.
    I do have the option in the preferences - Invisible Elements
    - Server-Side includes: and the check box is checked / enabled.
    If I could, while I'm here, one other question. I have DW
    code rewriting turned on, and it shows me each time I open a file,
    what corrections it has made. But if I save the file, and then open
    it again, it shows me the exact same corrections being done again.
    Is there a trick to make DW8 save the corrections it automatically
    makes to the files?
    many thanks in advance.

    > I know that there were major changes between 4 and 8.
    One of which was tightening the tolerance for bad code. CS3
    is very strict
    about displaying proper code.
    However, your fragments below look OK.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "mmdlcab" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    bregent
    > Do any of your included files include html, head or body
    tags? If so,
    > that's
    > the problem. Having those creates invalid html which DW
    will not
    > render.
    >
    > Thats a great thought, but I just checked, and no, none
    of those tags are
    > in
    > the files. I'll see if I can attach the code for the 2
    files and see if
    > that
    > helps any. The header file does have my menu system
    pasted into the text
    > of
    > the include file, but that has not caused problems
    previously. FWIW, this
    > worked fine in DW4 which is what I upgraded from. In
    version 4, the
    > headers
    > and footers showed up fine in desgin view. I know that
    there were major
    > changes between 4 and 8.
    >
    > Header include file:
    > ----------------------------
    > <table border="0" align="center" width="750"
    height="110">
    > <tr>
    > <td><a href="/index2.html"><img
    src="/images/color_logo.gif"
    > width="110"
    > height="107" alt="MMDL Logo" border="0"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="/index2.html"><img
    > src="/images/header4.gif" width="450" height="110"
    border="0" alt="MMDL -
    > The
    > worlds largest steel tip dart league"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="testpage.html"></a><a
    > href="
    http://www.dmisports.com/darts_main.html"><img
    > src="/images/dmilogo_small.gif" alt="DMI Sports"
    width="110" height="77"
    > border="0" longdesc="
    http://www.dmisports.com"
    /><br />
    > <!-- <a href="
    http://www.mmdl.org/dmi_flyer.pdf"
    > target="_blank">League Board
    </a></td>-->
    > </a><a href="
    http://www.mmdl.org/dmi_flyer.pdf">League
    Board </a></td>
    > </tr>
    > </table>
    > <!-- DHTML Menu Builder Loader Code START
    --><script language="JavaScript"
    > type="text/javascript">
    > var navVer = navigator.appVersion;
    > if(navVer.substr(0,3) >= 4)
    > if((navigator.appName=="Netscape") &&
    (parseInt(navigator.appVersion)==4))
    > {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/nsmenu.js"><\/script\>');
    > } else {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/iemenu.js"><\/script\>');
    > }</script>
    > <!-- DHTML Menu Builder Loader Code END
    --><table border="0" width="550"
    > height="110">
    > -------------------------------------
    > footer include file
    > --------------------
    > <table border="0" align="center">
    > <tr>
    > <td width="20" valign="top"
    align="center"> </td>
    > <td align="center" valign="middle" width="194">
    > <div align="left"><a
    href="mailto:[email protected]?subject=MMDL
    > Darts.*..
    > ">Comments? Email us</a></div>
    > </td>
    > <td align="center" valign="middle"
    width="128"><a
    > href="
    http://www.mmdl.org/dmbmenu/textmenu.html">Text
    > based menu</a></td>
    > <td align="center" valign="middle"
    width="223">&copy; <SUP>SM</SUP>
    > 2007
    > Minute Man Dart League. All rights reserved.</td>
    > </tr>
    > </table>
    > -----------------------
    >
    >
    >
    >

  • Client side load balancing and server side load balancing

    Hello Team,
    I need to know how to set up client and server side load balancing in oracle rac.  What all things to be implemented like creating a service, tnsnames.ora settings etc.
    And also if i used SCAN ip instead of VIP. how the settings will change.
    Regards,

    Hi,
    please find here an Whitepaper with the information
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
    kind regards

  • OAS server-side JSP debugging

    Hi All
    Is there a way to do the OAS server side JSP debugging using JDeveloper or other tools?
    ka
    null

    Hi
    The pdf file only mentioned 4 ways to do that but didn't include the details on how to do it. Appreciate if you could you tell me more precisely on how to do it with OAS?
    ka
    null

Maybe you are looking for