Szplugz / neelkhare.com

personal website
https://neelkhare.com
0 stars 0 forks source link

Contact page in dev view #10

Closed Szplugz closed 1 month ago

Szplugz commented 1 year ago

If a dev (or someone who knows how to navigate the website through the terminal) wants to get in touch with me, they can

cd /home/contact
touch <filename>.txt
vi <filename>.txt

And write whatever they wish to write in the text file. I can see this working in two ways:

1. Keep all files in that directory (for x days) but restrict viewing rights to root (me).

Maybe through chmod. But then there's the pain of dealing with security, and having to make sure someone marginally smarter than myself can't bypass it.

2. Automate emails to my inbox every time someone creates a file in that directory.

Limit one email/ip/24h. Or something like that.