Reputation: 11
I have my own application with a calendar. Everyday I export the data to an iCalendar (ics) file. This ics file is on my webserver and I can successfully import into my Outlook. My question is, what stops from anyone else connecting my calendar? Is there a way to protect it, so that Outlook asks for a login and password before importint this web calendar?
Upvotes: 1
Views: 733
Reputation: 3572
You can apply HTTP Authentication on the directory where the calendar is hosted. If you're using Apache, see http://httpd.apache.org/docs/2.2/howto/auth.html.
Do note that it seems to have problems on Outlook 2007. Other clients like Thunderbird+Lightning can import the http password protected ics file properly, but Outlook 2007 doesn't recognize it as a valid ics file. (I'm stuck at this problem right now, so if anyone can help me find a solution, I'd be grateful.)
Upvotes: 1