# \[htaccess\] Web access vs Server access

**URL:** <https://forum.kirupa.com/t/htaccess-web-access-vs-server-access/207098>\
**Category:** programming\
**Created:** [November 14, 2006, 7:51pm UTC](https://forum.kirupa.com/t/htaccess-web-access-vs-server-access/207098 "2006-11-14T19:51:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSinclair](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MSinclair](https://forum.kirupa.com/u/MSinclair)\
**Post date:** [November 14, 2006, 7:51pm UTC](https://forum.kirupa.com/t/htaccess-web-access-vs-server-access/207098/1 "2006-11-14T19:51:27Z")

</div>

Is it possible to use an .htaccess file to restrict direct access to a file via its URL, but still allow the server to interact with it?

To see where I’m headed with this or why I’m asking:

> **[Load movie from outside root directory?](https://www.kirupa.com/forum/showthread.php?t=240887)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!
