Expose url to webservice

Posted by Patrick Peters on Stack Overflow See other posts from Stack Overflow or by Patrick Peters
Published on 2010-04-12T13:41:36Z Indexed on 2010/04/12 13:43 UTC
Read the original article Hit count: 558

Filed under:
|
|

In our project we want to query a document management system for a specific document or movie. The dms returns a URL with the document location (for example: http://mydomain.myserver1.share/mypdf.pdf or http://mydomain.myserver2.share/mymovie.avi).

We want to expose the document to internet users and intranet users. The requested file can be large (large video files).

Our architecture is like:

request goes like: webapp1 -> webapp2 -> webapp3 -> dms response goes like: dms -> webapp3 -> webapp2 -> webapp1

webapp1 could be on the internet.

I have have been thinking how we can obfusicate the real url from the dms, due to security issues. I have seen implementations from other webapps where the pdf URL was obfusicated by creating a temp file for the requested document that is specific for the session and user. So other users cannot easily guess the documentname of other users.

My question: is there a pattern that deals with exposing company/user vulernable data to the public ?

Our development is in C# 3.5.

© Stack Overflow or respective owner

Related posts about c#

Related posts about architecture