You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
Should I chmod all sub folders and files in the templates folder to 555 (of the guestbook and Maian Greetings, also) or just the templates folder?
And the content of /docs/htaccess_data.txt I should add (somewhere or in a special place?) to my existing .htaccess in the root?
Is there anything to do with Maian Friend for security reasons?
Do I understand right: I can now rename the admin folders as I like it of Maian Guestbook and Greetings without causing any problems? I am wondering why you can rename the admin folders without getting wrong paths after it.
Nice greetings, Dirk.
Last edited by Dirk (28-07-2008 15:27:44)
Yes, all sub folders will need chmoding for it to be writeable. When you have finished editing, chmod them back to 0644. You can add the .htaccess code anywhere in your current .htaccess file.
Renaming the 'admin' folder won`t affect anything, but it might do with Maian Guestbook, unless you modify the paths manually as mentioned in a previous post. I have actually updated the admin header file and adjusted the paths.
Maian Friend? Sorry, I`m not understanding this question.
Thank you David,
So I have now chmoded these folders of the guestbook to 644 (all the files I haven`t chmoded):
/templates/ needs 777? Chmoding to 644 and there is any access anymore to the guestbook, just a white page. 555 seems to work. All the files in the templates folder I can leave as they are?
And I have now chmoded these folders of the greetings script to 644 (all the files I haven`t chmoded):
And /templates/ to 777 or 555? Without chmoding any files
Is there anything else to chmod?
As I see I have the .htaccess with this .htaccess code in my guestbook folder already, obviously done with the installation (or had I myself already added it...?...). So that is enough?
Sorry for my bad wording: to protect e.g. Maian Greetings / Guestbook from e.g. hacking attacks there are several preventive measures to do, e.g. renaming the admin folder, add a .htaccess file with special code, chmoding etc. Is there anything to do to protect Maian Friend from attacks etc.?
Thanks a lot for your always kind help, Dirk.
Just chmod to whatever your server supports. Basically you want the files writeable before editing and then none writeable afterwards. If you get a whitescreen, go into your control panel and check your server error log. You might see the reason there.
The code in the htaccess file is very effective in stopping some bots. You can actually find updated versions of the code online as its being updating all the time with new bots. I have that code on all my sites.
For Maian Friend, can you post in the Maian Friend forum, so things don`t get confusing?
<<< The code in this htaccess file is very effective in stopping some bots. You can actually find updated versions of the code online as its being updating all the time with new bots. I have that code on all my sites.
Thatâ€™s good to know, I guess the link on top of .htaccess leads to these updates.
So to protect the entire website from spam the .htaccess file with this code must be in the root (so this protects e.g. the guestbook and Main Greetings being in a sub folder) and when .htaccess is in the guestbook folder it just protects the guestbook from spam. So I assume you have one single .htaccess with this code for one entire website.
<<< For Maian Friend, can you post in the Maian Friend forum, so things don`t get confusing?
Yes, of course, sorry for causing confusion. I will do.
Thanks a lot for your very helpful thoughts, Dirk.
Last edited by Dirk (30-07-2008 11:02:41)
So I assume you have one single .htaccess with this code for one entire website.
That is correct yes. But you can add the code to as many .htaccess files as you need, for added security.
OK, thank you very much David,
I have just done.
Thanks for your very kind help, Dirk.