[vlc-commits] Protect AJAX files like the HTML ones

Rémi Denis-Courmont git at videolan.org
Tue Nov 22 21:30:46 CET 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov  1 20:39:48 2011 +0200| [e3c16907daedfe675c08fc55740e6516bb4cbf0e] | committer: Rémi Denis-Courmont

Protect AJAX files like the HTML ones

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=e3c16907daedfe675c08fc55740e6516bb4cbf0e
---

 share/http/requests/.hosts |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/share/http/requests/.hosts b/share/http/requests/.hosts
new file mode 100644
index 0000000..6f54ae0
--- /dev/null
+++ b/share/http/requests/.hosts
@@ -0,0 +1,24 @@
+#
+# Access-list for VLC HTTP interface
+# $Id$
+#
+
+# localhost
+::1
+127.0.0.1
+
+# link-local addresses
+#fe80::/64
+
+# private addresses
+#fc00::/7
+#fec0::/10
+#10.0.0.0/8
+#172.16.0.0/12
+#192.168.0.0/16
+#169.254.0.0/16
+
+# The world (uncommenting these 2 lines is not quite safe)
+#::/0
+#0.0.0.0/0
+



More information about the vlc-commits mailing list