473,756 Members | 3,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Permissions Dilemma

I'm developing an open source CMS, but have come across a problem. The
system dynamically creates .php files for the front-end of the site, meaning
they're owned by user 'nobody'.

However, for anyone with safe mode turned on, any "require_on ce" or
"include_on ce" commands used in these php pages won't work due to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown command
(many hosts block it), and with safe mode on, so any suggestions?

Many thanks.
I'm developing an open source CMS, but have come across a problem. The
system dynamically creates .php files for the front-end of the site, meaning
they're owned by user 'nobody'.

However, for anyone with safe mode turned on, any "require_on ce" or
"include_on ce" commands used in these php pages won't work due to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown command
(many hosts block it), and with safe mode on, so any suggestions?

Many thanks.
Jul 17 '05 #1
1 2622
"Pete" wrote:
I’m developing an open source CMS, but have come across a
problem. The
system dynamically creates .php files for the front-end of the site, meaning
they’re owned by user ’nobody’.

However, for anyone with safe mode turned on, any "require_on ce" or "include_on ce" commands used in these php pages won’t work due
to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown
command
(many hosts block it), and with safe mode on, so any suggestions?

Many thanks.
I’m developing an open source CMS, but have come across a
problem. The
system dynamically creates .php files for the front-end of the site, meaning
they’re owned by user ’nobody’.

However, for anyone with safe mode turned on, any "require_on ce" or "include_on ce" commands used in these php pages won’t work due
to safe mode
restrictions (the script whose uid is * is not allowed to access..). I want
to this system to be available to users without access to the chown
command
(many hosts block it), and with safe mode on, so any suggestions?

Many thanks.


Pete, I think php is being twisted here. Are you sure you need
dynamic php scripts in the first place. With scripts, the idea is
static code, and dynamic data.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Permissi...ict139405.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=467189
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2743
by: Miha | last post by:
hi to everyone... could someone mail me a sample source code of the spatial prisoner's dilemma game...application code,not applet...thanx in advance mihael.sedmak@fer.hr
12
2455
by: Thomas Matthews | last post by:
Hi, According to Robert Martin's Dependency Inversion Principle, http://www.objectmentor.com/resources/articles/dip.pdf, when there is a need to test the type of an object, the code inside the "switch cases" should be placed into the parent class. However, I am finding that this conflicts with the other principles -- the objects now must know details about
0
1212
by: Colin Basterfield | last post by:
Hi all, Not sure if this is the most appropriate place for this so apologies if inappropriate... I have come back to a framework I built some time ago to see where some refactoring can take place to improve performance, and following some test have highlighted a few areas where some changes would definitely benefit the application.
5
2536
by: c#freeskier89 | last post by:
Can someone please give me some information on sending data through a USB port. What I am trying to do is use the USB port (I get how to do it on a COM port). I am using VC# 2005. I have searched the internet repeatedly but cannot find anything. Overall, what I am trying to do is just activate a LED with a transistor via a progam made in C# by hooking up the the BASE pin of the transistor to the DATA+ pin on the USB cable and then...
0
1052
by: Chris | last post by:
Hi, I have a dilemma. I have a web form that, when submitted, does a window.open js function to submit the form data to a new aspx page which then shows a report. I wanted to make sure that the first text box control had the focus so I added javascript code to set that focus. The only problem was that the popup window kept opening behind the parent after the submit. So, I added a document.focus() in the onload event of the new...
1
1299
by: Bishop | last post by:
I have a page that generates a grid of controls; at the end of each row is an update button that is dynamically created with an associated click event. The grid changes based on the date selected in the calendar control and I populate this grid of controls by calling a routine in the page load event. My dilemma is that the page load event executes before my grid control event during a postback, thus the date that the grid references does...
9
1063
by: John | last post by:
Greetings. I apologize for posting this if it is in the wrong group. The boss last week dropped vb.net on my desk and wants to create a web app and a corresponding desktop app. And I'm a newbie to vb.net. Have done vb6 work but not alot. The boss only dropped vb.net and no db to go with it. He indicated for me to use my best judgement on the db. So, I would like to find out what db others of you are using with vb.net for over the...
0
1459
by: N. Quisitive | last post by:
Hello, I have a dilemma that has haunted me for a couple of months now. I am developing a content management system for a client who has their server managed by someone else (to be more specific, this system is being built for a school in a university; the servers are managed by the university and are highly secured). The problem is the administrators will not change the write permissions on the folder I would like to upload to. After...
16
3164
by: hzmonte | last post by:
Correct me if I am wrong, declaring formal parameters of functions as const, if they should not be/is not changed, has 2 benefits; 1. It tells the program that calls this function that the parameter will not be changed - so don't worry. 2. It tells the implementor and the maintainer of this function that the parameter should not be changed inside the function. And it is for this reason that some people advocate that it is a good idea to...
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9843
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.