diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..7a84916
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,30 @@
+# Huésped Manager - protección básica (compatible con Apache y LiteSpeed)
+Options -Indexes
+
+# Archivos que nunca deben descargarse
+
+
+ Require all denied
+
+
+ Order allow,deny
+ Deny from all
+
+
+
+
+ RewriteEngine On
+ # Código antiguo, ejemplos y pruebas de librerías: no accesibles por URL
+ RewriteRule ^(phpexcel|modulo/sendgrid/lib|modulo/sendgrid/vendor|modulo/sendgrid/sendgrid-php\.php|modulo/mailer/PHPMailer|modulo/mailer/PHPMailer-master)(/|$) - [F,L]
+
+
+
+ Header always set X-Content-Type-Options "nosniff"
+ Header always set X-Frame-Options "SAMEORIGIN"
+ Header always set Referrer-Policy "same-origin"
+ # Solo se permite cámara (fotos de huéspedes) desde el propio sitio
+ Header always set Permissions-Policy "camera=(self), microphone=(), geolocation=()"
+ # Obliga HTTPS en visitas futuras (solo se envía cuando la conexión ya es HTTPS)
+ Header always set Strict-Transport-Security "max-age=31536000" env=HTTPS
+ Header always unset X-Powered-By
+
diff --git a/adicionar.php b/adicionar.php
index b08ca3d..da1906a 100644
--- a/adicionar.php
+++ b/adicionar.php
@@ -1,6 +1,6 @@
-
+
diff --git a/autorizados_vis.php b/autorizados_vis.php
index 950b332..bd769dc 100644
--- a/autorizados_vis.php
+++ b/autorizados_vis.php
@@ -1,5 +1,5 @@
-
diff --git a/caja.php b/caja.php
index ad2d6a9..b0b1bd1 100644
--- a/caja.php
+++ b/caja.php
@@ -1,5 +1,5 @@
-=\''.$caja_1.'\' and id_consecutivo <=\''.$caja_2.'\' ');
diff --git a/chat.php b/chat.php
index e79645a..f87e87f 100644
--- a/chat.php
+++ b/chat.php
@@ -1,5 +1,5 @@
-DATOS DE HUESPEDES