.htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unicorn
    New Member
    • Sep 2006
    • 23

    .htaccess

    hi, i want to prevent flashGet (or programs like this) from browsing my website and its content... is that possible? or if it is how... through .htaccess you can use rewrite engine like this:

    RewriteCond %{HTTP_USER_AGE NT} ^FlashGet [OR]
    RewriteRule ^.* - [F,L]

    i still can browse through... even folders of yahoo.com, so if it is possible to prevent it, then why yahoo didn't use it... i think this Rewrite Rule doesnt work.

    so is there any other simple method to do so? to hide folder where i store "accessible " files from FlashGet browsing?!... \

    thanks in advance...
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    You could put your files into a database.

    Comment

    • unicorn
      New Member
      • Sep 2006
      • 23

      #3
      Originally posted by Atli
      You could put your files into a database.
      sorry, but can ou recomend how to do that? using mymeTypes? i guess so but i newer worked with mymeTypes so deeply, can you recomend something that helps me (some papers or links). and one more, i'm gonna work with video, lot of pictures and some FLV files, size of this file might be over 5MB, is it still good to use databease?

      thanks Atli

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        You should be able to put all the files you need into BLOB fields in a MySQL database. Correctly configured, MySQL LONGBLOB fields should be able to store up to 4GB of data.

        This link shows how to upload fles to a MySQL database: Linkage

        Comment

        Working...