Общие > Веб Сервера

виртуальный хостинг

<< < (7/9) > >>

ThE0ReTiC:
Давай.

ThE0ReTiC:
Во! Вариант:
.htaccess в директории firms:

order deny,allow
deny from all



order deny,allow
allow from all
deny from IP (customer2.IP)



order deny,allow
allow from all
deny from IP (customer1.IP)


Попробуй.

intercon:
По идее задачу надо разделить на 3
1. Что нухно реализовать при помощи permissions
2. Что нухно реализовать при помощи .htaccess
3. Что нухно реализовать при помощи config.ini.php

ThE0ReTiC:
В перимшнах запрети доступ у папке firms.
В php.ini поставь safe_mode

intercon:
; Safe Mode
;
safe_mode = Off

safe_mode_exec_dir =

; Setting certain environment variables may be a potential security breach.
; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
; the user may only alter environment variables whose names begin with the
; prefixes supplied here.  By default, users will only be able to set
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
;
; Note:  If this directive is empty, PHP will let the user modify ANY
; environment variable!
safe_mode_allowed_env_vars = PHP_

; This directive contains a comma-delimited list of environment variables that
; the end user won\'t be able to change using putenv().  These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
safe_mode_protected_env_vars = LD_LIBRARY_PATH
================================
что именно надо сделать?

Навигация

[0] Главная страница сообщений

[#] Следующая страница

[*] Предыдущая страница

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
Перейти к полной версии