Results 1 to 6 of 6

htaccess

This is a discussion on htaccess within the Deutsch forums, part of the General Discussion category; hallo zusammen, hat jemand in seiner htaccess dinge wie das nachfolgende für vb bzw. vbseo drin (sicherheit) Code: RewriteCond %{QUERY_STRING} ...

  1. #1
    Senior Member
    Real Name
    thompson
    Join Date
    Jul 2007
    Posts
    198
    Liked
    0 times

    htaccess

    hallo zusammen,

    hat jemand in seiner htaccess dinge wie das nachfolgende für vb bzw. vbseo drin (sicherheit)

    Code:
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to set a module value through the URL
    RewriteCond %{QUERY_STRING} module_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    #IF the URI contains a "http:" or "ftp:" or "https"
    RewriteCond %{QUERY_STRING} http\: [OR]
    RewriteCond %{QUERY_STRING} http\%3A\%2F\%2F [OR]
    RewriteCond %{QUERY_STRING} ftp\: [OR]
    RewriteCond %{QUERY_STRING} https\: [OR]
    #OR if the URI contains a "["
    RewriteCond %{QUERY_STRING} \[ [OR]
    #OR if the URI contains a "]"
    RewriteCond %{QUERY_STRING} \] [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]

  2. #2
    Member
    Real Name
    Jann Hendrik Bekaan
    Join Date
    Mar 2007
    Posts
    94
    Liked
    0 times
    Nein. Welche Form der Sicherheit soll das bieten?

  3. #3
    Senior Member Thomas Hoehl's Avatar
    Real Name
    Thomas
    Join Date
    Jul 2005
    Location
    Ockershausen, Germany
    Posts
    1,329
    Liked
    3 times
    Ich frage mich auch gerade, warum sollte dieser Code etwas bringen in puncto Sicherheit?
    Wo hast du diesen her?
    Thomas Höhl / Crawlability Inc.
    vBSEO 3.3.2 freigegeben: vBSEO 3.3.2 veröffentlicht - Sicherheitsupdate

    vBSEO Styles: Version 1.0 PRO Für Alle Version 2.0 Für vBSEO Kunden


    Meine Seiten: www.vb-seo.de, www.ligafans.de und www.skats.de

  4. #4
    Senior Member
    Real Name
    thompson
    Join Date
    Jul 2007
    Posts
    198
    Liked
    0 times
    Quote Originally Posted by Thomas Hoehl View Post
    Ich frage mich auch gerade, warum sollte dieser Code etwas bringen in puncto Sicherheit?
    Wo hast du diesen her?
    der kommt vom joomla forum.

    wird dort benutzt um scripte und angriffe zu blocken.

  5. #5
    Senior Member Thomas Hoehl's Avatar
    Real Name
    Thomas
    Join Date
    Jul 2005
    Location
    Ockershausen, Germany
    Posts
    1,329
    Liked
    3 times
    Kennst du schon das Script Bot-Trap?
    Mit Bot-Trap gegen Content Grabber, Spam
    Thomas Höhl / Crawlability Inc.
    vBSEO 3.3.2 freigegeben: vBSEO 3.3.2 veröffentlicht - Sicherheitsupdate

    vBSEO Styles: Version 1.0 PRO Für Alle Version 2.0 Für vBSEO Kunden


    Meine Seiten: www.vb-seo.de, www.ligafans.de und www.skats.de

  6. #6
    Senior Member
    Real Name
    thompson
    Join Date
    Jul 2007
    Posts
    198
    Liked
    0 times
    nein, kannte ich nicht.

    mir wird immer wieder ein redirect auf eine andere seite ueber vbulletin untergejubelt. leider konnte ich die luecke bisher nicht schließen. dachte ich kann es mit ne htaccess aenderung schließen.

Similar Threads

  1. Replies: 2
    Last Post: 12-24-2009, 04:52 AM
  2. Moving .htaccess rules to htaccess.conf
    By petforums in forum General Discussion
    Replies: 2
    Last Post: 06-07-2009, 12:42 PM
  3. Replies: 5
    Last Post: 05-12-2009, 03:29 PM
  4. current .htaccess vs vbseo .htaccess
    By karlm in forum Pre-Sales Questions
    Replies: 7
    Last Post: 08-26-2008, 08:48 PM
  5. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 03:45 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
  •