473,396 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Resitrict user to his self dir

Hello,

How to restrict user to his self dir and it's subdirs only in includes/fopen etc?
Jul 17 '05 #1
2 1657
*** Drixter wrote/escribió (15 Jun 2004 02:36:20 -0700):
How to restrict user to his self dir and it's subdirs only in includes/fopen etc?


If using Apache, add this to a VirtualHost or Directory container:

php_admin_value open_basedir /home/user/
--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2
Alvaro G Vicario <al******************@telecomputeronline.com> wrote in message news:<mu****************************@40tude.net>.. .
How to restrict user to his self dir and it's subdirs only in includes/fopen etc?

If using Apache, add this to a VirtualHost or Directory container:
php_admin_value open_basedir /home/user/


But if I using dynamic vhost?
like mod_rewrite
Jul 17 '05 #3

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

Similar topics

2
by: Jim Jewett | last post by:
Normally, I expect a subclass to act in a manner consistent with its Base classes. In particular, I don't expect to *lose* any functionality, unless that was the whole point of the subclass. ...
13
by: Frans Englich | last post by:
Hello, I am having trouble with throwing class instances around. Perhaps I'm approaching my goals with the wrong solution, but here's nevertheless a stripped down example which demonstrates my...
4
by: Wow | last post by:
when calling a object in an html, should I use self.objectname this.objectname or document.objectname? for example, i have a form called theform and a link called thelink i can call...
10
by: Rada Chirkova | last post by:
Hi, at NC State University, my students and I are working on a project called "self-organizing databases," please see description below. I would like to use an open-source database system for...
1
by: Daniel Goldman | last post by:
I have a C program that analyzes data. It makes tables, graphs, other output in response to user selections. It normally takes keyboard input into a curses-based user interface. However, it can...
84
by: braver | last post by:
Is there any trick to get rid of having to type the annoying, character-eating "self." prefix everywhere in a class? Sometimes I avoid OO just not to deal with its verbosity. In fact, I try to...
0
by: petr.jakes.tpc | last post by:
Hi, I am trying to dig through User-defined Exceptions (http:// docs.python.org/tut/node10.html chapter 8.5) is it OK to add following line to the __init__ method of the TransitionError class?...
0
by: Gabriel Genellina | last post by:
En Thu, 17 Apr 2008 19:11:36 -0300, Petr Jake¨ <petr.jakes@tpc.cz> escribió: Not necesarily, but you should call the base __init__, perhaps with a suitable message. Most of the time, a...
8
by: ssecorp | last post by:
I first learned about OO from Java. I much prefer to program in Python though. However I am consufed about 2 things. 1. Why do I have to pass self into every method in a class? Since I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.