Friday, 30 March 2012

Authentication Methods in IIS

Intoduction
In IIS you can setup various authentication methods for entire sites or virtual directories. These authentication methods determine who can access the Web pages in the site/virtual directory. The three Authentication methods available are:

1. Anonymous Access - This authentication method requires NO username or password to access the site. Anyone can just type in the URL and access the site. This is the default access method for IIS sites/virtual directories and is the authentication mode for 99.9999% of the World Wide Web.

2. Basic Authentication - The authentication method requires you to type in a valid NT login and password to gain access to the system (the NT login must be a valid NT login for the NT domain that the Web server is on). Where Basis Authentication is enabled you will get a popup window asking for the username and password when trying to first visit a resource in that protected site/virtual directory. After you enter the required information the username and password will be transmitted over the network WITHOUT any encryption. This will enable anyone trying to compromise your site examine passwords during the authentication process.

3. Windows NT Challenge/Response (referred to as Integrated Windows Authentication in IIS 5) - This is supposedly the most secure form of Authentication in IIS. When you login, NT validates your login and ONLY the username is transmitted over the network. No password is transmitted. So under no circumstances can your password be compromised. Note that this method will NOT work with Netscape!.

Wednesday, 28 March 2012

How to Reduce the SQL Database Size


Please see the Following steps for Reduce the MS SQL Database size

    1)    Don’t try to truncate any table
    2)    select DATABASE-> right click ->Tasks->Shrink->Database
    3)    select DATABASE-> right click ->Tasks->Shrink->files
    4)    select DATABASE-> right click ->Tasks-> take offline
    5)    select DATABASE-> right click ->Tasks-> detach
    6)    delete or rename log file

   Go to your Database directory 
   ~\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\

   Delete or rename ” DatabaseName. LDF” file

    7)    Click Database -> Attach




Monday, 26 March 2012

How can I back up IIS settings?

There are a number of ways to do this. The properties and values set in the Internet Information Services Manager console (the IIS snap-in) are stored in the Metabase.bin file located at C:\winnt\system32\inetsrv by default. In IIS 5.0, you can back up the metabase from inside the IIS snap-in. To do this, select the computer icon and right-click. Then select Backup/Restore configuration. You can then choose to back up your current metabase settings or restore a previous version. This same option is also available in MetaEdit 2.2.

When you save the metabase in this way, your backup is stored in the C:\winnt\system32\instrv\metaback folder as an .md0 file. The file will have the name you assigned when you made the backup, such as Pre-Lockdown.md0. If you create multiple backups with the same name, they will have incremental extensions such as Backup.md0, Backup.md1, and so forth.

In the event that your metabase is seriously corrupted, you may be unable to start IIS. In that case, you will not be able to do a restore from the IIS snap-in or metaedit. Should this occur, you can restore by replacing Metabase.bin with the most appropriate .md0 (.md1, etc.) metabase backup file from the metaback folder. Assuming that your backups are good, IIS will start right up.

There are two other means to make a backup of the metabase. You can simply copy Metabase.bin using xcopy, scopy, or any other copy routine. You should stop the Internet services first so that your metabase is up to date and not in use.

Finally, there are two scripts provided—metaback.vbs and metarest.vbs—which are located in Inetpub\IISSamples\sdk\admin (if you installed the IIS SDK on IIS 5.0) or in the IIS Resource Kit\Utility\ADSI Admin Scripts folder (if you installed the IIS 4.0 Resource Kit). These .vbs scripts use an ADSI command specifically provided to make metabase backups. 

USEFUL LINKS

Here you get all needed Redhat 9 and older rpms. You also get updates here.
http://fedoralegacy.org/download/fedoralegacy-mirrors.php

The Rocket Turtle page is essential for Plesk/Virtuozzo installed servers.
http://www.atomicorp.com/channels/

Latest MySQL, PHP, Apache packages ported for RHEL/CentOS.
http://www.jasonlitka.com/media/EL5/

To download phpMyFAQ and documents to install it:
http://www.phpmyfaq.de/download.php
http://www.phpmyfaq.de/dokumentation.2.0.en.php#2a 

Website Tools for Internet Query

asp.net page timeouts in Web application depends on


  1. The shutdowntimeout property for the Application pool being used (go through IIS).
  2. The Scripttimeout property for the application.
  3. The Connecttimeout property to the database
  4. The Commandtimeout property for the connection
  5. The Asynch timeout property for the Ajax ScriptManager on the page (if you are using AJAX).
  6. The HTTPRunTIme executionTimeOut property in the web.config file.

POWERFUL WORDS

This is a pretty powerful list we could all stand to live by!
The most destructive habit..............................Worry
The greatest Joy...........................................Giving
The greatest loss......................Loss of self-respect
The most satisfying work...................Helping others
The ugliest personality trait...................Selfishness
The most endangered species.....Dedicated leaders
Our greatest natural resource....................Our youth
The greatest "shot in the arm"...........Encouragement
The greatest problem to overcome......................Fear
The most effective sleeping pill.........Peace of mind
The most crippling failure disease................Excuses
The most powerful force in life..........................Love
The most dangerous pariah......................A gossiper
The world's most incredible computer.......The brain
The worst thing to be without......................... Hope
The deadliest weapon.............................The tongue
The two most power-filled words................."I Can"
The greatest asset..........................................Faith
The most worthless emotion......................Self-pity
The most beautiful attire................................SMILE!
The most prized possession....................... Integrity
The most contagious spirit....................Enthusiasm