Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7430219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:06:12+00:00 2026-05-29T09:06:12+00:00

From your experience, are there any security measures that one should undertake on a

  • 0

From your experience, are there any security measures that one should undertake on a VPS before including files with absolute paths (opening /, eg. /common/lib.php or /images/image.jpg)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:06:13+00:00Added an answer on May 29, 2026 at 9:06 am

    Yeah, there is one for sure.

    Make sure that you turned display_errors off, to make all the error messages you will get invisible to the user.

    Then make these paths real, by adding $_SERVER['DOCUMENT_ROOT'] to them or any other way.

    And yes, as long as you are using this kind of code

    include $_SERVER['DOCUMENT_ROOT'].'/common/lib.php';
    

    using no dynamically generated filenames

    you may consider yourself safe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can you simply delete the directory from your python installation, or are there any
The general advice is that you should not call GC.Collect from your code, but
From your experience, what is the most accurate open-source Optical Character Recognition (OCR) library/software
The MSDN site says: From your view class's function that handles the WM_CREATE message
There are several web applications which allow you to send photos from your mobile
When opening a file from your hard drive into your browser, where is the
If you cache data from your database in ASP.NET session then you will speed
How to make from your Custom HTTP Module a stand aloun TCP\HTTP server capable
How can you you insert a newline from your batch file output? I want
If you return a double or float from your MBean jconsole seems to round

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.