پارس جوم ::  انجمن های تخصصی جوملا
پیاده سازی یکی از مسائل امنیتی - نسخه‌ی قابل چاپ

+- پارس جوم :: انجمن های تخصصی جوملا (https://forums.parsjoom.ir)
+-- انجمن: پشتیبانی (/forum-70.html)
+--- انجمن: مباحث و مشکلات عمومی (/forum-33.html)
+--- موضوع: پیاده سازی یکی از مسائل امنیتی (/thread-5316.html)



پیاده سازی یکی از مسائل امنیتی - mal2moh - ۱۰-۱-۱۳۹۱ ۱۰:۲۱ عصر

سلام
داشتم میگشتم به روش زیبای تغییر مسیر فایل اصلی تنظیمات configuration رسیدم
گفتم مطمئنا شما هم بهش نیاز پیدا خواهید کرد

کد:
Step 1 : Move configuration.php to a safe directory outside of public_html.

Step 2: You will have to modify the /includes/defines.php and /administrator/includes/defines.php files, more precisely, this constant:
define( 'JPATH_CONFIGURATION', JPATH_ROOT );

If, for example you wish to move the file up one level and into a folder named "test" the constant will look like this:
define( 'JPATH_CONFIGURATION', JPATH_ROOT.DS.'..'.DS.'test' );

Step 3: Make sure the configuration.php is not writable at all, so that it can not be overridden by com_config.

Step 4: If you need to change configuration settings, do it manually in the relocated configuration.php.


به


RE: پیاده سازی یکی از مسائل امنیتی - alireza007 - ۱۰-۱-۱۳۹۱ ۱۱:۱۴ عصر

سلام دوست عزیز

من دو خطش رو نتونستم بفهمم
اگه ممکنه این مطلب رو فارسی تایپ کنیدRose