Hexret

Web Security · HTTP and hosting

Web root

Also known as: Document root

The directory a web server uses as the default source for files requested by URL. Pointing it at a project workspace can publish .git, .env, source files, or backups unless server rules block them. Publish only intended release files and keep sensitive artifacts outside the served tree.

Where you practice it

Related terms