You could change the directory's permissions and give your application
permission to access this folder. But the bottom line is that the .js will
download into the browser's cache anyway, even if the user doesn't directly
access the file. All the user has to do is look in their Temporary Internet
Files folder and they will see your .js file there.
"Rulin Hong" <Ru*******@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
I want .js file only included in web page. But I find I can download .js
file
if I just type URL in IE browser (ex,
http://localhost/HtmlRichTextBox/htmltextbox.js).
Is there any way to avoid this?
Thanks in advance