Results 1 to 9 of 9

File security

This is a discussion on File security within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello, I have this folder showing to the public and I dont want it to be. Index of /forum/images What ...

  1. #1
    Senior Member DADOCTOR's Avatar
    Real Name
    Ryan
    Join Date
    Apr 2008
    Posts
    145
    Liked
    1 times

    File security

    Hello,

    I have this folder showing to the public and I dont want it to be.

    Index of /forum/images

    What can I do to secure it?
    It seems that the only images that are able to be seen are .gif images
    why is this and how to secure it?

    Thanks

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    you can create empty index.html file in "images/" folder, or better add "Options -Indexes" in apache configuration (httpd.conf) or .htaccess file in domain root.

  3. #3
    Senior Member DADOCTOR's Avatar
    Real Name
    Ryan
    Join Date
    Apr 2008
    Posts
    145
    Liked
    1 times
    Thanks Oleg,

    I cant really understand what you mean,
    would you be able to explain a bit more, when you can

    I am getting lots of sites hotlinking these images,

    Should any folders like this one be open for public access?

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello Ryan ,

    You can directly add Options -Indexes on top of your vBSEO .htaccess file. It will prevent users browsing within your folders. However this will not prevent users hotlinking your images
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  5. #5
    Senior Member DADOCTOR's Avatar
    Real Name
    Ryan
    Join Date
    Apr 2008
    Posts
    145
    Liked
    1 times
    would this be what is written at the top of the vbseo htaccess file

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    I just want to check that this is the right file?

    and what do I add to it?

    Thanks

  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Yes it is the right file. You must add it at top of your .htaccess file
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Senior Member DADOCTOR's Avatar
    Real Name
    Ryan
    Join Date
    Apr 2008
    Posts
    145
    Liked
    1 times
    This?

    add Options -Indexes

    what exactly

    Thanks for your patients I really appreciate it Mert

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Add "Options -Indexes" to the top of file, like:
    Code:
    Options -Indexes
    # Comment the following line (add '#' at the beginning)
    etc..

  9. #9
    Senior Member DADOCTOR's Avatar
    Real Name
    Ryan
    Join Date
    Apr 2008
    Posts
    145
    Liked
    1 times
    Thanks guys
    Great support again!

Similar Threads

  1. Rewrite root/subfolder/file.php to root/file.php
    By shokmuzik.com in forum URL Rewrite Settings
    Replies: 1
    Last Post: 12-24-2008, 02:00 PM
  2. Code Security...
    By Citricguy in forum Off-Topic & Chit Chat
    Replies: 2
    Last Post: 07-23-2008, 04:51 PM
  3. security?
    By sde in forum General Discussion
    Replies: 8
    Last Post: 07-18-2006, 10:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •