an secure Mysql service using the following methods. 1. Restrict anonymous remote access :- Which meansnever provide grant access from all hosts. It must limit to specific users from specific hosts only. Do not grant the SUPER privilege and FILE privilege to non-administrative users. Any user who has this privilege can write a file anywhere in the file system with the privileges of the mysqld daemon. 2. Improve local security :- To improve local security use different socket file for both client and server connections. For that edit and add …
1.Click Start, Programs, Administrative Tools, and select Internet Information Services (IIS) Manager. 2.Expand local computer and right click on Web Sites 3.Click New and select Web Site 4.Click Next to begin. 5.Type in a description for the website. This is usually the domain name but can be anything that we prefer to distinguish the site from others. 6.Click Next. 7.Type in the IP address of our new site. TCP port should be 80. * If the site is an IP-based site we can leave the host header line blank. *If …
Magic quotes is a module of php which was implemented in older versions of PHP. In latest versions, the module is depreciated. It is for the purpose of processing of escaping special characters with a ‘\’ to allow a string to be entered into a database. There are three magic quote directives: magic_quotes_gpc :- Affects HTTP Request data (GET, POST, and COOKIE). Cannot be set at runtime, and defaults to on in PHP. magic_quotes_runtime:- If enabled, most functions that return data from an external source, including databases and text files, …
‘rncd : connection failed : connection refused’ is a common error occurred in cpanel. Inorder to get the name servers work properly we need to eliminate this error. Elimination of this error is a simple process which takes only a few minutes via cPanel /scripts.. The steps to solve the issue is as follows : 1. Login to your server as root via SSH 2. Run: /scripts/updatenow 3. Run: /scripts/fixrndc The above steps should fix most of the cases, but if it does not, do follow the following steps : …
First we need to identify failed RAID Arrays. we can gather information from the following command’s output. # cat /proc/mdstat Removing the failed partition and disk # mdadm –manage /dev/md0 –remove /dev/sdb1 => Power down # shutdown -h now Then replace the drive and power up In order to use the new drive we should have to create the same partition table structure that was on the old One. # sfdisk -d /dev/sda | sfdisk /dev/sdb After that we can add the partitions to the RAID Array. # mdadm –manage …
.htaccess (hypertext access) is the default name of directory-level configuration file that provides decentralized management of configuration while inside your web tree. .htaccess files are often used for security restrictions on a particular directory. So it is very important to secure .htaccess. 1. Add the following code into the .htaccess files. # STRONG HTACCESS PROTECTION order allow,deny deny from all satisfy all 2. Secure your config.php by adding the follwoing # protect wp-config.php Order deny,allow Deny from all 3. Prevent hacker from browsing your directory by adding the code # …
DNS is a critical component of any network infrastructure. It is responsible for translating domain names into IP addresses, making it a prime target for attackers. A compromised DNS server can lead to traffic redirection, data interception, service downtime, and severe reputation damage. The main objective of securing DNS includes ensuring the secure exchange of data between DNS servers, protecting DNS queries, securing zone transfers, and controlling DNS updates. Strengthening DNS security is a foundational step in overall website and server protection, as discussed in SupportPro’s guide on improving website …
Check for the current version of apache installed on the server and make sure that the apache development tools have been installed on the server (i.e. httpd-devel package) using the command rpm -qa | grep httpd-devel In case the apache development tools are not installed on the server, install the package via yum yum install httpd-devel The devel package is necessary for addition of extra modules to apache ( since apxs [apache extension tool] comes with httpd-devel. Before installation of mod_security, ensure that the c (apache module) is installed on …
Remote server configuration 1. Edit the /etc/my.cnf file in the remote server and add the following line somewhere under [mysqld] in the my.cnf file bind-address=<IP address of the remote server> 2. Restart mysql on the server Granting privileges for database:: In order to access a database ‘abc’ on the remote server from another machine, we need to add sufficient privileges for a user in the machine from which the connection is made. i.e. from the mysql prompt ( use mysql command or mysql -u root -p to enter the prompt). …
As most of the mobile applications used today contain open source, 70% fail to comply with their respective licenses. From a recent survey conducted by OpenLogic, Inc., a leading provider of enterprise open source software support, announced that 71% of Android, iPhone, and iPad apps containing open source failed to comply with basic open source licensing requirements. They scanned 635 leading mobile applications in order to identify open source components and evaluate compliance with the relevant licenses. Applications that contain open source components are required to comply with the rules …