Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 490
Alerts This Week
Warning Icon 1 490

Stay Ahead With Linux Security HOWTOs

Filter%20icon Refine HOWTOs
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security HOWTOs

We found -4 articles for you...
166

Secure Sensitive Data Access Using Apache Password Protection

Sensitive information that only certain people need to have web access to must be secured.. Sensitive information that only certain people need to have web access to must be secured. If sensitive or proprietary information is located on your web site and you do not want public access to this information, you must password it. An obscure file name with no links to it anywhere on the site will not keep the information secure. Security through obscurity does not work. To password a file, a series of files or a directory in Apache, the httpd.conf file must be edited. Then, a database of usernames and passwords must be created. AuthType Basic AuthName "Secret" AuthUserFile /usr/local/apache/users require valid-user In this example, all files that begin with secret. will require authentication. If only one file needed to be password protected, the example could be changed to: Similarly, if a directory needed to be password protected, the example could be changed to this: Now back to the original example, the authentication type is basic, meaning it is just a text file, not a true database. When someone tries to go to one of the pages that is protected, the box that asks for a username and password will be titled Secret. The text file with the usernames and passwords will be called users and be located in the /etc/httpd/conf directory. According to the require field, any user in the users file is allowed access. To set up the text file with usernames and passwords, the program htpasswd must be used. It is located in the bin directory when you install apache. The syntax is very simple for this program. The first time htpasswd is run for the users file, it should be called like this: root# /usr/bin/htpasswd -m -c filename username In our example, it would look something like this: root# /usr/bin/htpasswd -m /etc/httpd/conf/users canisab For more information about this and similar things, goto Welcome to The Apache Software Foundation! . Also, there are great books such as Apache: The Definitive Guide by Ben and Peter Laurie. . Safeguard confidential data on your site by utilizing Nginx security measures. Discover how through professional guidance.. Apache Authentication, Sensitive Data Security, Web Access Control. . Anthony Pell

Calendar%202 Jul 23, 2000 User Avatar Anthony Pell How to Learn Tips and Tricks
News Add Esm H240

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200