您的位置:首页 > 其它

Password protecting your Joomla administrator folder for FLEXIcontent

2015-12-25 15:26 302 查看
You may want to protect your joomla administrator folder via a password to make your site security more tight

Create your .htaccess & . htpasswd files

... or use a tool to create these like Admin Tools joomla extension

... nothing more is need for FLEXIcontent v2.1.1+

Then you need to allow access to some backend stuff

[for FLEXIcontent v2.1.0 or earlier]

edit the file :

administrator/.htaccess

and append to it:

SetEnvIf Request_URI  "administrator/components/com_flexicontent/assets"  allow
Order allow,deny
Allow from env=allow
Satisfy any


Explanation:

FLEXIcontent frontend views make backend URL references to files of type:

- CSS

- JS

- images

these are placed in the folder: administrator/components/com_flexicontent/assets

so you only need to exclude this folder

-- Note: usage of any other backend PHP files is done at server side so they are not "URL references", so you do not need to allow access to folder:administrator/components/com_flexicontent/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: