From b3bc212e437540c96c01ef6ee0fadfb41f6a2fff Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Sun, 22 Jan 2006 16:18:39 +0000 Subject: [PATCH] .hosts: Provide a template .hosts. dialogs/.hosts: Explanation about the empty file. --- share/http/.hosts | 24 ++++++++++++++++++++++++ share/http/dialogs/.hosts | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 share/http/.hosts diff --git a/share/http/.hosts b/share/http/.hosts new file mode 100644 index 0000000000..7996904520 --- /dev/null +++ b/share/http/.hosts @@ -0,0 +1,24 @@ +# +# Default 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 + +# The world +# (comment this out to obtain a safe default) +::/0 +0.0.0.0/0 + diff --git a/share/http/dialogs/.hosts b/share/http/dialogs/.hosts index e69de29bb2..11932394ca 100644 --- a/share/http/dialogs/.hosts +++ b/share/http/dialogs/.hosts @@ -0,0 +1,4 @@ +# The files in this directory shouldn't be accessed by http. +# They are included in other HTML pages. +# Hence this .hosts to allow nobody. + -- 2.39.2