In the tutorial it shows how you can change the page you are editing to one outside the password protected folder. The video shows that you would be editing your mypage.html so anywhere you see that in the index.php and savedata.php files change it to point to the path of the file you want to edit.
EXAMPLE - Here you are editing mypage.html. mypage.html is inside the password protected folder only because it's for demonstration purposes.
$content = file_get_contents("mypage.html"); //set this to point to the page you want to edit
CHANGE TO EDIT A DIFFERENT PAGE OUTSIDE THE PASS PROTECTED FOLDER
$content = file_get_contents("../../index.html");
The
../
just means to back out of the folder you are in. So if you wanted to point to your index.html file you would need to go back by two folders
"../../index.htm"
You can password protect the FCKeditor folder and still edit pages outside of it. As in the video tutorial I would suggest password protecting the cms folder in order to protect all the files. You can still edit pages outside of there once it's protected.
Re: Newbie question regarding password protection....
In the tutorial it shows how you can change the page you are editing to one outside the password protected folder. The video shows that you would be editing your mypage.html so anywhere you see that in the index.php and savedata.php files change it to point to the path of the file you want to edit.
EXAMPLE - Here you are editing mypage.html. mypage.html is inside the password protected folder only because it's for demonstration purposes.
$content = file_get_contents("mypage.html"); //set this to point to the page you want to editCHANGE TO EDIT A DIFFERENT PAGE OUTSIDE THE PASS PROTECTED FOLDER
$content = file_get_contents("../../index.html");Thejust means to back out of the folder you are in. So if you wanted to point to your index.html file you would need to go back by two folders
You can password protect the FCKeditor folder and still edit pages outside of it. As in the video tutorial I would suggest password protecting the cms folder in order to protect all the files. You can still edit pages outside of there once it's protected.
Hope that helps
Re: Newbie question regarding password protection....