Results 1 to 10 of 10

htaccess password for /includes - yes or no?

This is a discussion on htaccess password for /includes - yes or no? within the General Discussion forums, part of the vBSEO SEO Plugin category; I had already read this entire thread before , but I spent a couple hours late last night carefully reading ...

  1. #1
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times

    Question htaccess password for /includes - yes or no?

    I had already read this entire thread before, but I spent a couple hours late last night carefully reading through it again because there's a wealth of information on there. However one thing I didn't see much discussion of was htaccess password protection of the includes (public_html/includes/). On the vBulletin.com forum I saw a couple people say this should be protected to, but most of what I've read lately only talks about doing that with the admincp and modcp.

    So is it possible to password protect /includes/ or will that cause problems? If it is possible and recommended, it seems like that might help since some of these attacks are originating at includes/config.php.

  2. #2
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    So is it possible to password protect /includes/ or will that cause problems? If it is possible and recommended, it seems like that might help since some of these attacks are originating at includes/config.php.
    Yes Mike you're correct I'm strongly suggest to protect your includes directory and I've said that in this thread : Easy Security Tips for vBSEO customers

    or will that cause problems?
    I'm already done that in my own forum since more than 2 years and I didn't see any problem in all of these 2 years, Also vBulletin.com and .org is protect their includes directory
    http://www.vbulletin.com/forum/includes/
    http://www.vbulletin.org/forum/includes/

    I can say yes it will make problem if you protected your clientscript directory with user and password

  3. #3
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times
    Quote Originally Posted by Marco Mamdouh View Post
    Yes Mike you're correct I'm strongly suggest to protect your includes directory and I've said that in this thread : Easy Security Tips for vBSEO customers
    Okay great - then I will add htaccess password protection to /includes.

    Are there any other folders that you should also protect? How about /install and /vbseo?

  4. #4
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Since vbseo folder has the images of vBSEO, Then it may make a problems I don't suggest to protect it ....
    Install folder you can just rename it to any random characters for example "hjh6721gtwq" And if you need it you can rename it again to install

  5. #5
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times
    Thanks. One more question- in the thread you linked to with instructions, the htaccess example was:

    Code:
    AuthUserFile /home/sitename/mypassvault/passwd
    AuthName "AdminCP"
    AuthType Basic
    Require valid-user
    Should it also have files access on the bottom, like this?

    Code:
    AuthUserFile /home/sitename/mypassvault/passwd
    AuthName "AdminCP"
    AuthType Basic
    Require valid-user
    
    <Files ".htaccess">
    order allow,deny
    deny from all
    </Files>

  6. #6
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    No, you shouldn't add this part in htaccess password protect.

  7. #7
    Member
    Real Name
    Ron
    Join Date
    May 2010
    Posts
    42
    Liked
    0 times
    I've read a few recommendations to completely delete the /install folder. why leave it?

  8. #8
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    You may need to for maintenance, For example tools.php file need init.php file in install folder.

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    I suggest deleting it. If you ned it, you can always re- FTP it from your vb download.

  10. #10
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    I concur, it serves a major security risk if found. Even renaming it still leaves it on your server and I highly recommend removing it.

    As for .htaccess protection the /vbseo/ folder I wouldn't recommend it however you can protect the /vbseo/includes/ folder with no problem at all.

Similar Threads

  1. Sitemap includes photopost pro?
    By jdougher in forum General Discussion
    Replies: 1
    Last Post: 05-21-2009, 07:09 AM
  2. .htaccess and password protection by cpanel
    By philmckrackon in forum General Discussion
    Replies: 2
    Last Post: 06-17-2008, 01:59 AM

Posting Permissions

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