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 7950957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:25:14+00:00 2026-06-04T02:25:14+00:00

I have a centos 5.8 VPS which is running mod_php rather than fastcgi which

  • 0

I have a centos 5.8 VPS which is running mod_php rather than fastcgi which i’m used to on shared hosting, and I’ve run in to the problem that various bits of php intended to write to files need those files to be world writable. The files that are written are like the database for the website, and the rss xml. This isn’t secure, is it? What should I do to make it secure?

  • 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-06-04T02:25:16+00:00Added an answer on June 4, 2026 at 2:25 am

    Who has access to this machine? In other words, who is “world” in this scenario? If it is only you, then you don’t have anything to worry about, do you?

    However, if this system is shared with other people, do you trust all of the admins? If you don’t, there’s very little you can do to protect your files.

    If it is other non-admin users on the system that you are worried about, then you do not want to make your database world-writable. If you cannot write to those files, then the process writing to them (mysql, apache, etc) is running as the wrong user. Preferably, you’d want your files to be owned by the same user as those processes are running under – but only if you can trust that user! If you can’t, then you’re probaby straight out of luck.

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

Sidebar

Related Questions

I have shared hosting on CentOS with local MySQL database. I'm able to run
I have a vps with cPanel/Whm/CentOS 5.5 and the problem is that all parameters
I have one VPS from PowerVPS which has CentOS 5.5 (default configuration). I need
I am running centos and I have around 1,300 files in a folder that
We have a 64bit virtual machine (CentOS) that we'd like to run on 64bit
I have a problem of upgrading python from 2.4 to 2.6: I have CentOS
I have two servers: Fedora running Apache/2.2.14 (old server) CentOs running Apache/2.2.3 (new server)
I have a windows box and a VM running CentOS. Does anyone happen to
I have a clean install of a CentOs with php 5.2.13. In php.ini that
I have a WHM server running Centos 4 (yes I know it just turned

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.