Sep
23
2009
0

(Ab-)using Smarty cache in order to load Websources into own Webpage

This article discribes an easy way to cache data received from other websites in order to improve the performance of one own's site. The method was successfully tested on alexander-kaletsch.de (blog) and birgit-kaletsch.de (kurse-detail).

Theory: Download Websource only after cache got invalid.

First you have to create a dummy template: _cache.tpl

{$cache}

The index.php:

require_once("Smarty/Smarty.class.php");

$smarty = new Smarty();

$smarty->compile_dir     = "_comp/";
$smarty->template_dir     = "tpl/";
$smarty->cache_dir        = "_cache/";
$smarty->cache_lifetime = 60*60; // 1h

$smarty->caching = 2;

if(!$smarty->is_cached("_cache.tpl", "blog")){
$smarty->assign("cache", file_get_contents("http://www.patworx.de/blog/index.php"));
}

echo $smarty->fetch("_cache.tpl", "blog");

if(!$smarty->is_cached("_cache.tpl", "ak")){
$smarty->assign("cache", file_get_contents("http://www.alexander-kaletsch.de/"));
}

echo $smarty->fetch("_cache.tpl", "ak");

Written by in: Allgemein |
Sep
14
2009
0

Security Analysis of the German Electronic Health Card’s Peripheral Parts

Based on my Bachelor's Thesis research my first paper was published some weeks ago. Finally I found time to post it in here.

Sunyaev, A.; Kaletsch, A.; Mauro, C.; Krcmar, H. (2009): Security Analysis of the German electronic Health Card’s Peripheral Parts. In: ICEIS 2009 - Proceedings of the 11th International Conference on Enterprise Information Systems. Milan, Italy, 6-10 May 2009. Volume ISAS, pp. 19-26.

Abstract:

This paper describes a technical security analysis which is based on experiments done in a laboratory and verified in a physician’s practice. The health care telematics infrastructure in Germany stipulates every physician and every patient to automatically be given an electronic health smart card (for patients) and a corresponding health professional card (for health care providers). We analyzed these cards and the peripheral parts of the telematics infrastructure according to the ISO 27001 security standard. The introduced attack scenarios show that there are several security issues in the peripheral parts of the German health care telematics. Based on discovered vulnerabilities we provide corresponding security measures to overcome these open issues and derive conceivable consequences for the nation-wide introduction of electronic health card in Germany.

Download PDF here

For those who are too lazy to read the full story or don't like English that much - my adviser published a short summary in German:

http://www.egms.de/en/meetings/gmds2009/09gmds256.shtml

Enjoy reading, I'm looking forward to your comments!

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com