Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I used the following method to create a ics file from a custom list:

http://<site-url>/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List=<LISTGUID>&CacheControl=1&ID=<ITEMID>&Using=event.ics

Although I am unable to download the ics file anonymously? What could be the issue? is this possible?

share|improve this question
    
is this done through codebehind? –  ali Sharepoint Apr 17 '13 at 8:01

2 Answers 2

up vote 0 down vote accepted

in order for anonymous users to access the ics file, i belive that they dont have access to the list?

where are you generating the download function? if its through code then you can use impersonation!

If its from the list that is the issue than set it to all users who can have access, if you dont want all users to have access than you need to use impersonation to access the ics file without logging in!

share|improve this answer
    
I need to break the permission and give the specific list which contains the ics file access to all. Thanks. –  Diana Apr 17 '13 at 16:35

UPDATE:

Deactivate the feature "ViewFormPagesLockDown":

stsadm -o deactivatefeature -url http://SERVERNAME/sites/SITENAME -filename ViewFormPagesLockDown\feature.xml

For more info check my blog post: http://blogs.microsoft.co.il/blogs/choroshin/archive/2012/11/06/sharepoint-getting-authentication-login-prompt-when-trying-to-open-office-document-with-unique-permissions.aspx

share|improve this answer
    
Thanks for the links, but I already have that part down. My issue is that I am only able to download the item when I am signed in. I would like users to be able to download the file, without having to sign in. –  Diana Apr 16 '13 at 21:35
    
Hi Diana, I updated my answer, have you tried deactivatig the feature “ViewFormPagesLockDown”? –  Alex Choroshin Apr 16 '13 at 21:37
    
Hi Alex, I want anonymous users to be able to download the item. I do not want them to sign in...which is what will happen if I deactivate the "viewformpageslockdown". –  Diana Apr 16 '13 at 22:56
    
Basically I had the same problem, I got authentication login prompt and after deactivating the feature “ViewFormPagesLockDown” i got it to work without the login prompt –  Alex Choroshin Apr 17 '13 at 6:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.