Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear Habitual,
Which password you mean? You mean the machine password or the application. I never utilized .htpasswd. I am still newbie in hardening and security learning to improvise and apply.
Dear Habitual,
For the application its purely mysql db storing it. So I just run a check on the username and password. I got to admit its now clear text and I was soo busy doing all other hardening on the server I forgot to change this to hashing based. Now I am learning on best hashing.
Dear Habitual,
To my surprise how could they guess so well the names and even the exact get query input? This puzzles me till now. I have been monitoring there is not activity from this ip or this sort for now. Where to store this .htacces is it in my /var/html or /var/html/myfolder?
The configuration directives found in a .htaccess file are applied to the directory in which the .htaccess file is found, and to all subdirectories thereof. However, it is important to also remember that there may have been .htaccess files in directories higher up. Directives are applied in the order that they are found. Therefore, a .htaccess file in a particular directory may override directives found in .htaccess files found higher up in the directory tree. And those, in turn, may have overridden directives found yet higher up, or in the main server configuration file itself.
Dear Habitual,
I read here http://httpd.apache.org/docs/2.2/howto/htaccess.html it say if you have the main config file then you should us that? So what is you opinion on it? Go with .htaccess or change the main config file?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.