Auto-logon in Windows XP Professional

Having trouble finding the place where to enable auto-logon in Windows XP Professional? Since it's not so secure, it's well hidden. If you still want the functionality, do the following:

  1. Click Start, Run and enter CONTROL USERPASSWORDS2
  2. In the list of users, highlight the user account you want automatically logged on.
  3. Uncheck Users must enter a Username and password.
  4. Click Apply.
  5. In the next dialog, enter the password for the account you selected in Step 2, if any
  6. OK your way out.

Tags: 

Automatically redirect non-existing pages to the home page in Apache

How to configure Apache so that requests for non-existing pages are redirected to the home page.

In some occasions, you don't want people to get 404 messages when they surf to pages or folders that don't exist on your web server (anymore). For example, when you have Basic Authentication, end users only get the pop-up that requests them to authenticate when they surf to an existing page or folder. The security impact of this is that when attackers perform a brute force scan on your file server, they can easily detect whether pages and folders exist or not:

Tags: 

Dnscmd - Managing the Windows DNS Server

This page explains how you can script the creation of new domains in a Windows DNS server using the dnscmd utility.

For one of my projects, I needed to find a way to redirect requests from local machines to for example google.com to a local webserver. To accomplish this, I setup a DNS server, made sure that all the local machines were using this DNS and added google.com in this DNS server to redirect to my local server.

Tags: 

Pages

Subscribe to Vanstechelman.eu RSS