|
|
|
| Trumba Help Center | What’s New | FAQ | Support Forum | Email Support |
Use secure URLs to grant limited access to a calendarIf your group has a Trumba® calendar that contains proprietary or other data that you want to keep secure, you might want to make the calendar available on your intranet or other secure server, where only the people who have access to your secure environment can access the calendar. You might also want them to be able to display the calendar without having to enter a shared user ID and password. Before you attempt to create secure URLs (Requirements)Creating secure URLs is an advanced, developer-level procedure. This topic describes how you can create secure URLs by using PHP or ASP.Net with C#. The minimum requirements that you must meet before you attempt to create secure URLs are that you:
Note Knowledge of HTML and CSS is also important for creating pages that host secure Trumba Connect spuds, but it is not sufficient. You must know a server scripting language. If you do not meet the requirements for creating secure URLs, we recommend that you consult with a Web developer. Steps for creating secure URLsTo make your calendar accessible in a secure environment, so that only the users who have access to your environment can see calendar, you complete these steps:
Note If you already have secure URLs set up on your site, and you want to update them (for example, if you think their security has been compromised), you can do so by opening the Publish Settings page and clicking the link to change your secure key. (Steps for opening the Publish Settings page appear in the next section.) When you get the new key, display it, copy it, and then paste it into the appropriate location of the code on your Web server. Get a secure key for your published calendar
Note Your calendar is published on a Trumba server. However, if someone tries to access it, Trumba Connect returns a page that is blank except for a message indicating that you cannot display the information without a secure URL. Use code provided by Trumba development to create your secure URLsAfter you get your secure key from the Trumba publishing settings, you need to use that key along with your calendar's web name in code that Trumba development has created for you to generate the secure URLs.
Using your own codeYou can use your own code to implement secure URLs instead of using the sample code provided by Trumba Development. However, we strongly recommend that you read the sample code, because it is a working example of how to generate the secure spuds. The rest of this section describes the steps you need to complete with your code. Get the required parameters Spud code that you enter in your page to display a calendar that is protected through secure URLs must carry two parameters:
Plug the required parameters into the spud code
Once you have an MD5 hash of your query string, you provide the hash and your Below is an example of a secure request.
$Trumba.addSpud({
webName: "testcalendar", spudType: "main", url : { expires: "200702021400", hash: "A4C93424343243AE89B3D" } }); Tip Take a look at the PHP example code to clarify the above example. Additional information
When you create your secure key in the publishing settings, you cannot display your calendar any way other than by going through the process of generating an MD5 hash, as in the procedures above. Using your secure key with a Your secure key is also stored on the Trumba server in association with your calendar. When a user requests to display your calendar, Trumba Connect generates an MD5 hash from your secure key. If the MD5 hash generated from Trumba Connect doesn't match yours, Trumba Connect cannot display your calendar. |
|
| Privacy | Terms | Public Calendars | |
| © 2004–2008 Trumba Corporation. All rights reserved. Click for trademark information. | |