Disable Enable USB (Windows Users)

1)  Registory Changes: To Disable USB: reg add HKLM\SYSTEM\CurrentControlSet\Services\UsbStor /v “Start” /t REG_DWORD /d “4” /f To enable USB: reg add HKLM\SYSTEM\CurrentControlSet\Services\UsbStor /v “Start” /t REG_DWORD /d “3” /f 2) Files Permission (Admin Access) Usbstor.pnf Usbstor.inf Deny: To deny usb for particular user please enter user name using admin right for below command: cacls %windir%\Inf\Usbstor.pnf […]

Protect php.ini file via a Browser

To prevent people to viewing your php.ini file via a  browser:  # vi /etc/php.ini <Files php.ini> Order allow,deny Deny from all </Files>

Step by Step guide Line for File Compression Tools For Linux

If you want to compress files and directories or want to decompress them on Linux machine you can use different methods which you like. Compression always used to reduce the space of directory or file Also while you have to transfer file from one place to another you can use different types of algorithms and […]

Steps to Setup Cron Job

Installations: Ubuntu: $udo apt-get update $sudo apt-get install cron Path: /etc/cr Files: /etc/cron.daily, /etc/cron.hourly, /etc/cron.monthly or /etc/cron.weekly. To edit Cron Job: $ crontab -e     #looks like  Installing crontab Output Like Below: crontab -e no crontab for root – using an empty one Select an editor.  To change later, run ‘select-editor’. 1. /bin/ed 2. […]

Step by Step Install IIS on Windows 7

Web Server Internet Information Services (IIS) 7.5 Comes with Windows and it is not installed by default with windows. You have to install it manually. Then click on Windows features ON/Off