Skip to content
Advertisement

Tag: access-control

Determine access rights for CalDAV calendars

I’m creating a PHP application that will write events to a CalDAV calendar (Kolab groupware). For this I ask for the calendar-home-set of the respective user. After that, I only want to use calendars that I have write permissions for. It may well be that I received shared calendars that I’m only allowed to read. So how can I determine

CORS not working php

I am trying to post form data from www.siteone.com to www.sitetwo.com via CORS. My ajax code is this: and the file cors.php in www.sitetwo.com is as follows: But still Access-control-Allow-Origin error is thrown. The error thrown is this: I came to know that, using CORS by just allowing the remote website via headers, we can use cross-domain request. But when

Advertisement