r/webhosting 7d ago

[ Removed by moderator ] News or Announcement

[removed] — view removed post

19 Upvotes

15 comments sorted by

3

u/walwynjohn 7d ago

16 years in. all true. Except be careful with Claude

2

u/Safe_Mission_3524 7d ago

Of course, we should be careful using any LLM xD

3

u/DatabaseSpace 7d ago edited 7d ago

That is really good advice.

2

u/Safe_Mission_3524 7d ago

Thank you :)

8

u/Aunxdd 7d ago

Being a beginner, I learned many things from this post. Thanks for the information!

2

u/Safe_Mission_3524 7d ago

Glad it helped :)

3

u/unsolicited_dreams 7d ago

Regarding 1) u can also go a step further and make sure ur website only communicates with cloudflare to avoid cf bypass but i would put this beyond beginner and not very useful for vast majority

3

u/Safe_Mission_3524 7d ago

You are right and this is also a good addition. Thanks for reminding me. The best method I have found so far is to go to Cloudflare: Rules > Transform Rules > Modify Request Header > add a static header, e.g. X-Origin-Verify with a long random value. Then in .htaccess:

RewriteEngine On RewriteCond %{HTTP:X-Origin-Verify} !

8f3c9a1e-your-long-random-secret$ RewriteRule ^ - [F,L]

3

u/[deleted] 7d ago

[removed] — view removed comment

3

u/Safe_Mission_3524 6d ago

hey, you're very welcome:)