+ Start a Discussion

Linking to documents on salesforce.com

Hi all,

Is it possible to have links on my website that link to documents saved on salesforce and not get the salesforce login screen? If so how would I go about getting this done.

Thanks in advance!


Message Edited by Paulo on 03-08-2005 12:04 PM

Message Edited by Paulo on 03-08-2005 12:04 PM

Yes, you can do this.  Do a search for frontdoor.jsp on this forum for details.
Ron WildRon Wild

Frontdoor.jsp will get you past the login screen, but it's also going to give your web visitor access to the account.

For example, in this php snippet...

echo "<href= 'https://na3-api.salesforce.com/secur/frontdoor.jsp?sid=$sid&retURL=/servlet/servlet.FileDownload?file=".$docId."'> Download Document</a>";

... the web visitor can click to download a file in one of your document folders.  But if they edit the URL (e.g. to point to home/home.jsp) they are now looking at the home page of the account you used to create the session id ($sid).

What do you do if you want to link to or download documents in a SFDC documents folder securely?