Simple Way To Protect Your Cute News Dir From Access

Share your CuteNews.RU skins and code snippets.

Simple Way To Protect Your Cute News Dir From Access

Postby azn_romeo_4u » Thu Jun 25, 2009 6:06 pm

If you don't want people to go through your files you can protect it with .hatccess files. Create a .hatccess file and put in it

deny from all


Put an .hatccess file in each of these dirs and overwrite the originals if they are in there...

backup
cache
inc
plugins
data (smilies probably will not show up though)


Remove folder

convert


there's no point in having that in there. This is just a simple step from allowing people to go through your files. It will just redirect them to a 404 page or something. Also this works on most systems.
Last edited by azn_romeo_4u on Fri Jun 26, 2009 6:51 am, edited 2 times in total.
azn_romeo_4u
 
Posts: 123
Joined: Thu Sep 18, 2008 5:06 am

Postby scottdallas » Thu Jun 25, 2009 8:10 pm

cool excellent and helpful suggestions. i just applied them
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby azn_romeo_4u » Thu Jun 25, 2009 11:34 pm

Yea =D it should thwart the noob hackers.
azn_romeo_4u
 
Posts: 123
Joined: Thu Sep 18, 2008 5:06 am

Postby mark99 » Fri Jun 26, 2009 5:15 pm

Captcha plugin won't work with that in Plugins.
mark99
 
Posts: 123
Joined: Mon Feb 09, 2009 6:01 pm

Postby scottdallas » Sat Jun 27, 2009 12:18 pm

i had to remove the .htaccess files they made my cnr run like poop and break most or all of the admin areas images lol

it was a nice idea and if it works for you, azn_romeo_4u, that is great :)
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby azn_romeo_4u » Wed Jul 01, 2009 6:58 am

scott you can remove the .hatccess from "skin" dir and it should restore the js and css files. And yea if you have files that need to be used aka, images, css, js that you stick in any of the folders they won't be called upon.
azn_romeo_4u
 
Posts: 123
Joined: Thu Sep 18, 2008 5:06 am


Return to Skins and snippets



Who is online

Users browsing this forum: No registered users and 2 guests

cron