Jump to content

Recommended Posts

If the file is only being used by a server-side application you can use .htaccess to disallow HTTP access to the file. This can't be done if Flash or Javascript need the file.

Link to post
Share on other sites

...or you can also put your file outside web root. and use a server side script to pull the data of the file when you need with appropiate condition and appropiate header.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...