Jump to content

how file accessed


The Little Guy

Recommended Posts

Directly meaning someone requested that file versus you including it or something via another file?

 

It's called hot linking.  If you don't want a file to be accessed directly, move it outside of the public area of your webserver:

 

You probably have files here: /home/TLG/public_html/your_files_here_or_in_some_folder

 

Move them to: /home/TLG/some_folder/public_html

 

They cannot link directly to them in that case.

Link to comment
Share on other sites

Because I don't want someone to go to the specific page and press refresh 500 times to boost their site hits.

 

Session and or cookies would be your best bet IMO. Although these are bypassable not many people know how to bypass it. You can also do an IP deal. if the IP has hit more than 5 times in x minutes or x seconds then inform them of the infringement and that their stats are now under investigation and may be altered.

 

Just remember that unique hits are not always accurate cause it is hard to know who is legit and who isn't.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.