Index: slim/server/HTML/EN/html/docs/http.html =================================================================== RCS file: /cvsroot/slim/server/HTML/EN/html/docs/http.html,v retrieving revision 1.8 diff -u -r1.8 http.html --- slim/server/HTML/EN/html/docs/http.html 3 Aug 2004 17:28:54 -0000 1.8 +++ slim/server/HTML/EN/html/docs/http.html 7 Jan 2005 14:40:50 -0000 @@ -335,6 +335,45 @@ to have infrared debugging output. +
To protect against "Cross Site Request Forgery" (CSRF) security threats, SlimServer applies special scrutiny to HTTP requests for functions that can make changes to your system or manipulate playlists or players.
+This scrutiny is important to understand if you want to "bookmark" such a URL, or control SlimServer via the HTTP interface.
+SlimServer requires one of two things to be true in order to allow such control-oriented URLs to be accepted:
+
http://10.0.1.201:9000/status.html?p0=rescan
, SlimServer will offer you a clickable link with a URL like http://10.0.1.201:9000/status.html?p0=rescan;cauth=aa2d378f7e9f18611e951e7c6b30eea8
http://10.0.1.201:9000/status.html?p0=rescan;cauth=aa2d378f7e9f18611e951e7c6b30eea8
+to always work on your SlimServer installation (so you can bookmark it or use it in your home automation system), but not work on another SlimServer setup.
+This unpredicatbility makes it virtually impossible for a hostile web site to trick your SlimServer into doing something you don't want.
+http://10.0.1.201:9000/status.html?p0=playlist&p1=play&p2=soothing
would be completely different for the parameter for http://10.0.1.201:9000/status.html?p0=playlist&p1=play&p2=loud-alarm
+This also makes it more difficult for an attacker to trick your SlimServer into doing something you don't want.
+Finally, if more than one player is connected to the system, you can specify that player with a unique player identifier for the device being controlled. This unique identifyer is generated when the player connects. This identifier may be in the form of an IP address or MAC address, depending on the kind of client that's connecting.
@@ -570,4 +609,4 @@ /Volumes/10.0.1.201/A Tribe Called Quest/The Low End Theory/13. What?.mp3 /Volumes/10.0.1.201/A Tribe Called Quest/The Low End Theory/14. Scenario.mp3 -[% PROCESS helpfooter.html %] \ No newline at end of file +[% PROCESS helpfooter.html %] Index: slim/server/HTML/EN/html/errors/403.html =================================================================== RCS file: /cvsroot/slim/server/HTML/EN/html/errors/403.html,v retrieving revision 1.2 diff -u -r1.2 403.html --- slim/server/HTML/EN/html/errors/403.html 1 Apr 2004 02:31:07 -0000 1.2 +++ slim/server/HTML/EN/html/errors/403.html 7 Jan 2005 14:40:50 -0000 @@ -1,2 +1,4 @@