# How do I protect folder with javascript files (MS Server 2003)?

**URL:** <https://forum.kirupa.com/t/how-do-i-protect-folder-with-javascript-files-ms-server-2003/247316>\
**Category:** web dev\
**Created:** [December 21, 2007, 4:24am UTC](https://forum.kirupa.com/t/how-do-i-protect-folder-with-javascript-files-ms-server-2003/247316 "2007-12-21T04:24:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaanuki](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kaanuki](https://forum.kirupa.com/u/kaanuki)\
**Post date:** [December 21, 2007, 4:24am UTC](https://forum.kirupa.com/t/how-do-i-protect-folder-with-javascript-files-ms-server-2003/247316/1 "2007-12-21T04:24:18Z")

</div>

Hi all.

I have placed my web-app’s javascript files in a folder, and I would like to prevent the javascript source code files from being seen by users browsing to the folder.

I am running Windows Server 2003, and the various directory settings to prevent script source access dont seem to work for “.js” files

Please help.

Thanks in advance!
