hau_ooo
10-09-2009, 02:06 AM
Những bước bảo mật đơn giản cho phpBB . Hạn chế hack thôi :adore:
1) CHMOD
Config.php sau khi cài là 644;
3 thư mục cache, store, images/avatar/upload là 777 ;
Các thư mục khác là 755 ;
Các file khác là 644;
2) Đổi tên file config
- Vào file common.php ( ngang hàng file config.php )
TÌm
if (!file_exists($phpbb_root_path . 'config.' . $phpEx))và
require($phpbb_root_path . 'config.' . $phpEx);- vào file styles.php ( ngang hàng config.php )
Tìm
require($phpbb_root_path . 'config.' . $phpEx);- Vào file download/file.php
tìm
require($phpbb_root_path . 'config.' . $phpEx);
Sửa tên file config.php thành xxxxxxxxxxxx.php tùy bạn
Sửa config trong các file common.php, styles.php, file.php thành xxxxxxxxxxxxxx bạn đã sửa ở trên .
Tham khảo từ Vinabb.com
1) CHMOD
Config.php sau khi cài là 644;
3 thư mục cache, store, images/avatar/upload là 777 ;
Các thư mục khác là 755 ;
Các file khác là 644;
2) Đổi tên file config
- Vào file common.php ( ngang hàng file config.php )
TÌm
if (!file_exists($phpbb_root_path . 'config.' . $phpEx))và
require($phpbb_root_path . 'config.' . $phpEx);- vào file styles.php ( ngang hàng config.php )
Tìm
require($phpbb_root_path . 'config.' . $phpEx);- Vào file download/file.php
tìm
require($phpbb_root_path . 'config.' . $phpEx);
Sửa tên file config.php thành xxxxxxxxxxxx.php tùy bạn
Sửa config trong các file common.php, styles.php, file.php thành xxxxxxxxxxxxxx bạn đã sửa ở trên .
Tham khảo từ Vinabb.com