Integrating Windows Sharepoint

Posted on 2006-05-31
Last Modified: 2010-04-17
Hi there,

I have a web based application built using PHP and MySQL, however we also support Apache or MS SQL if required by a client.  One section of our software deals with document control, so if a user needs to upload a document to a particular section of our software they can do so via document control, which manages security of documents and also version control.

However, many of our clients already have a document control system in place and so would prefer to be able to simply browse to a file within their already created structure and link to it.  Many of these clients use Share Point, and so I was looking for some advice as to how we could integrate this into our application.  Currently a user can choose whether they would like to link to a file or upload it.  They then use the norma file input field on a form to find the file, and if 'link' is the selected operation then I use javascript to save that link in a hidden form field and upload it.

However this is where the problem lies.  For example what if a user browses to the following path:


Not a problem if we were simply returning a URL to the browser, but we need to use the server to grab this file, check the user has permissions for it and then return it as a download, but not ever let them know the link to it as obviously it may be sensitive.  So if the server opens the file X:\Documents\document.doc it would be looking locally on the server where the software is installed.

Now obviously a way round this would be to treat the link differently by either specifying the server name or the server's IP address so:


This is where we wondering if Share Point could be integrated to help us with building this link.

Any ideas?  Maximum points available due to very tight schedule.

Question by:jbclelland
    1 Comment
    LVL 5

    Accepted Solution


    Sharepoint itself saves a copy of the document, and does not save a link to the location of the file in the network.

    Therefore, you can query the document itself, its versions, author etc. but it doesnt keep a copy of the document alive in the local machine.

    Meaning, if a user loads a document from sharepoint word interface, makes modifications, and saves the document - the file itself is virtual - and the changes are saved in the sharepoint database.

    Sorry I didn't help you solve your problem, but at least you wont waste your time on that one,

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    sameEnds challenge 25 56
    canBalance challenge 34 56
    countHi challenge 25 61
    Installed softare without GUID 6 23
    This article will show, step by step, how to integrate R code into a R Sweave document
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now