How to secure your website with htaccess

by SecMaker - 24-04-2015, 07:30 PM
Novice
Posts:
26
Joined:
Feb 2015
Likes:
1
Credits:
11
Reputation:
0
2 Years of Service
#1
OP
Posted: 24-04-2015, 07:30 PM
Hello, I'm SecMaker also known as Ricky. I been inactive for awhile for awhile, I been working on my site and dealling wit things outside the internet. Let's get to the point me and my team that's all in Team Zero made a script to help protect your site from getting hacked and keep your website safe Smile.
1.Create a .htaccess file
2.Put this code in the file:
Please register or login in order to unlock hidden content.

3.Upload to the root of your public_html folder or sometimes it's www folder

If you guys have any questions I'll be glad to answer them I hope you yall have a good day this ole boy is out.
Aokie
Posts:
882
Joined:
Feb 2015
Likes:
56
Credits:
1,318
Reputation:
26
2 Years of Service
#2
Posted: 25-04-2015, 11:40 AM
In my opinion, .htaccess tweaks doesn't fully protect your website. You must find and patch vulnerabilities on your own
Novice
Posts:
26
Joined:
Feb 2015
Likes:
1
Credits:
11
Reputation:
0
2 Years of Service
#3
OP
Posted: 27-04-2015, 03:21 PM
this helps protect your site from most vulnerability's most you'll have to find to and patch them
Novice
Posts:
27
Joined:
May 2015
Likes:
0
Credits:
32
Reputation:
0
2 Years of Service
#4
Posted: 22-05-2015, 06:30 AM
i usually use .htaccess to disable anybody run php code under image, upload.. such folder.
Shady User
Prime
Posts:
146
Joined:
May 2015
Likes:
8
Credits:
138
Reputation:
2
2 Years of Service
#5
Posted: 22-05-2015, 07:07 AM
Too bad that I use NGINX.. I never liked Apache2, lighttpd, or even Lightspeed. I normally go with NAXSI & custom NGINX config for my security.
Novice
Posts:
22
Joined:
May 2015
Likes:
0
Credits:
39
Reputation:
4
2 Years of Service
#6
Posted: 06-06-2015, 04:54 PM
(22-05-2015, 07:07 AM)simdol8080 Wrote: Too bad that I use NGINX.. I never liked Apache2, lighttpd, or even Lightspeed. I normally go with NAXSI & custom NGINX config for my security.

Anything you can do in .htaccess can also be done in your nginx.conf and server blocks. You just need to know the variables to use.
Shady User
Prime
Posts:
146
Joined:
May 2015
Likes:
8
Credits:
138
Reputation:
2
2 Years of Service
#7
Posted: 09-06-2015, 07:05 AM
(06-06-2015, 04:54 PM)Kawaii Wrote:
(22-05-2015, 07:07 AM)simdol8080 Wrote: Too bad that I use NGINX.. I never liked Apache2, lighttpd, or even Lightspeed. I normally go with NAXSI & custom NGINX config for my security.

Anything you can do in .htaccess can also be done in your nginx.conf and server blocks. You just need to know the variables to use.

Of course, I am aware of that fact. It's just that I prefer .htaccess better than configuration of NGINX.conf, which tends to be more user friendly.. I can't argue though, the performance and more configuration option of NGINX is definitely masking the downside of NGINX.
Novice
Posts:
25
Joined:
Jun 2015
Likes:
0
Credits:
26
Reputation:
0
2 Years of Service
#8
Posted: 17-06-2015, 02:13 PM
i you need super protection use HTTP auth
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)