Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-10-2008, 12:55 PM
tsx tsx is offline
Intermediate Member
 
Posts: 16
Question [SOLVED] Attachment URL

Hello,

I'm trying to create URL for an attachment. So far I've found something like

https://myserver/service/home/~/test...id=3754&part=2

As you might have noticed it's using "auth=co", so when I try to use this URL to fetch data from a server where cookie is not set, it fails.

My question is, is it possible to have a URL that uses an authentication token (generated by delegate authentication as I'm using the admin account), that would allow access to the file?

Any help would be appreciated.

Thanks,

-t
Reply With Quote
  #2 (permalink)  
Old 06-10-2008, 05:20 PM
Zimbra Employee
 
Posts: 1,434
Default

Can you just use that URL and put the auth token in the ZIMBRA_AUTH_TOKEN cookie of the request?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 06-11-2008, 02:34 PM
tsx tsx is offline
Intermediate Member
 
Posts: 16
Default

Of course...that did the trick. Thanks.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.