Windows

PHP Add Captcha Protection To Web Forms

by Vivek Gite on June 24, 2009 · 15 comments

I own a small business website. However, bots started to abusing my forms such as contact.php. How do I stop bots bots from abusing my site? How do I tell if PHP form is submitted by a person or a script?

{ 15 comments }

I‘ve ssh gateway behind my NAT firewall. So all users must first login to my gateway host from the internet and then login to other machines on the LAN. This works great for cli based apps. However, few users would like to run x apps from internal LAN hosts and tunnel X display through intermediate ssh gateway and display back output on their local system. For example, from localsystem user makes connection as follows:

ssh -X user@gateway.example.com
ssh -X user@somelan.example.com

X forwarding fails with an error:

Error: Can’t open display:

How do I fix this problem and allow users to use X apps with my intermediate Linux / BSD gateway?

{ 5 comments }

The IPC$ share allows users to anonymously fetch a list of shared resources from a server. It can be used as a point of attack into a system. How do I disable or limit IPC$ under Samba to certain subnet such as 10.0.0.0/8?

{ 0 comments }

What is the difference between authentication and authorization? Why it is important to understand difference between two?

{ 6 comments }

Q. How do I find out the DNS authority record (SOA) for any DNS domain under UNIX / Linux shell?

{ 1 comment }

How to: MySQL Delete Column

by Vivek Gite on January 17, 2009 · 0 comments

How do I delete a column from an existing MySQL table using UNIX / Windows / Linux mysql command line utility sql syntax?

{ 0 comments }

Q. I was reading this article and wanted to try out KVM, XEN, VMWare and VirtualBox simultaneously on my desktop system with 2GB RAM? Why I’m not able to use run multiple virtualization technologies simultaneously under Ubuntu Linux? Can a Linux server run multiple virtualization technologies simultaneously?

{ 4 comments }