November 2008

27
Nov
2008
admin

Install & Configure Web server with PHP & MySQL in Ubuntu 8.04

Apache Web Server: Installing Apache: sudo apt-get install apache2 apache2-doc apache2-utils Start, Stop & Restart Apache: sudo /etc/init.d/apache2 start sudo /etc/init.d/apache2 stop sudo /etc/init.d/apache2 restart Testing Apache in web browser: http//:localhost Apache mod rewrite in Ubuntu: To enable an Apache 2 module, you can run: sudo a2enmod rewrite Next, sudo vi /etc/apache2/sites-available/default Look for the Directory section referring to the folder where your site lives (this is typically <Directory /var/www>), and change the line: AllowOverri

19
Nov
2008
admin

SQL injection

SQL injection is a technique that exploits a security vulnerability occurring in the database layer of an application. The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is in fact an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another.

Tags: