Set expose_php to Off in php.ini To Hide PHP Version Information on Web Server בחר כדי expose_php Off ב php.ini PHP גירסה להסתיר מידע על שרת האינטרנט

PHP (Hypertest Preprocessor) is a server-side HTML embedded scripting language that is very popular for web development. PHP (Hypertest Preprocessor) היא צד שרת ה-HTML embedded scripting שפה זה מאוד פופולרי עבור פיתוח באינטרנט. When PHP is running on a web server, each and every request to the web server will return the following line of header with PHP version information to the browser. כאשר PHP פועל על שרת אינטרנט, כל בקשת שרת האינטרנט יחזיר את השורה הבאה של כותרת עם PHP פרטי הגירסה של הדפדפן.

X-Powered-By: PHP/[version] X-Powered-by: PHP / [גרסה]

The X-Powered-By header info is controlled by expose_php core php.ini directive. ה-X-Powered-by הכותרת מידע מבוקר על ידי expose_php הליבה php.ini הוראה. expose_php determines whether web server will report that PHP is being used to process the request, and what version of PHP is installed to every request. expose_php קובעת אם שרת האינטרנט ידווח כי PHP נמצא בשימוש על מנת לעבד את בקשתך, ומה הגירסה של PHP מותקן על כל בקשה. expose_php is enabled by default, so the information is sent on each HTTP and HTTPS request. expose_php מופעלת כברירת מחדל, כך שהמידע נשלח בכל בקשת HTTP או HTTPS.

While PHP is generally reliable and secure, older and outdated versions of PHP may contain security holes and bugs. בעוד PHP היא, בדרך כלל, אמין ומאובטח, ו מיושן גרסאות ישנות יותר של PHP עלול להכיל חורים אבטחה ו באגים. Although there is no problem leaving PHP version info exposed, and enable expose_php is not classified as security risk, but malicious hackers looking for potentially vulnerable targets can use PHP version installed on a web server to identify a weakness. למרות שאין בעיה לצאת PHP גירסה מידע חשוף, ולאפשר expose_php אינה מסווגת בתור סיכון ביטחוני, אך זדוני האקרים מחפשים פוטנציאל פגיעה מכוונת יכול להשתמש PHP הגירסה המותקנת על שרת האינטרנט כדי לזהות חולשה. By turning off expose_php, the existence and version of PHP is hidden, and help lower threat to attacks that rely on simple reconnaissance techniques to scan for vulnerable targets. מאת מכבה expose_php, את קיומו ואת גירסת PHP מוסתר, וכן לעזור בהפחתת איום פיגועים מסתמכים על סירות טכניקות פשוטות כדי לבצע סריקה של פגיעה מכוונת. Although websites not using SEO-optimized URL structures may still potentially been seen by human as running PHP from link location (eg index.php?variable=value), but bots and automated scripts from novice attackers may be fooled. למרות שלא באמצעות אתרי אינטרנט אופטימיזציה SEO-URL מבנים שעלול היה עשוי עדיין בפני האדם לפעול כפי PHP מתוך הקישור מיקומו (לדוגמה index.php? משתנה = ערך), אבל רובוטים אוטומטיים סקריפטים ו מ פרח תוקפים מאי תלך שולל.

So it's recommended disable and turn expose_php off. אז זה מומלץ להשבית והופכים expose_php הנחה. Webmasters can disable expose_php in the php.ini file, usually located in /etc, /usr/lib, /usr/local/lib or /usr/local/lib/php/: מנהלי אתר expose_php יכול לבטל את הקובץ php.ini, הממוקם בדרך כלל / etc, / usr / lib, / usr / local / lib או / usr / local / lib / PHP /:

; Disable expose_php for security reasons ; השבת expose_php מסיבות ביטחוניות
expose_php = Off expose_php = Off

Tip: Setting expose_php to Off in php.ini does not prevent or stop php_info() function from executing. טיפ: הגדרת expose_php כדי Off ב php.ini אינו למנוע או להפסיק php_info () function מ עוציב.

IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף הוא מכונה בתרגום ובתנאי "כמות שהוא", ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to אנא פנה ל original English article המאמר המקורי באנגלית whenever possible. ככל שניתן.


Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> אתה יכול להשתמש בקבצי תגיות: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <דל datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. הצטרף כמנוי ל הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה על תגובות העדכנית פורסם, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטלי תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article חיפוש נכנס על תנאי סעיף

expose_php expose_php - -- cant disable expose_php צביעות להשבית expose_php - -- disable php version information להשבית PHP הגירסה נוספים - -- expose_php +does not turn off + expose_php אינו כבה - -- hide php php.ini הסתרת PHP php.ini - -- php.ini set index.php php.ini בחר index.php - -- to give --with-gd=shared in php.ini לתת - עם ה-= משותף ב php.ini - --