Archive for the ‘Nice to read’ Category

LOCK any FOLDER without using any software

It is very easy to Lock any folder without use of any software. To lock any folder just follows following Steps as written in this post

1. Copy the Following Code to Notepad

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

2. Now, save the above file in NOTEPAD as “Locker.bat” in your computer

LOCK any FOLDER without using any software

LOCK any FOLDER without using any software

3. Now, whenever you will run this it will create a Folder named Locker in which you can store desired files in it and then by again running Locker.bat, you’ll be able to Lock the contents.

4. To unlock open Locker.bat again and it will be done!

Advertisements

Web Request Life Cycle

Posted: September 27, 2013 in Nice to read
Web Request Life Cycle Behind The Scene

Web Request Life Cycle Behind The Scene

  1. User type web address http://finance.yahoo.com and hit Enter from User’s Computer
  2. User would see status bar like this: “finding site: finance.yahoo.com”
  3. Check Cache(if IP address for http://finance.yahoo.com is available then go to #15.
  4. DNS Query from User’s Computer to Internet Service Provider (at  192.168.1.100)
  5. Check Cache(if yes then go to #14.)
  6. DNS Query  from Internet Service Provider to Internet Root Server (at 192.5.5.241)
  7. DNS Response from Internet Root Server to Internet Service Provider (GO TO  192.35.51.30)
  8. DNS Query from Internet Service Provider to *.com Server(at 192.35.51.30)
  9. DNS Response from *.com Server to Internet Service Provider (GO TO  216.109.112.135)
  10. DNS Query from Internet Service Provider to *.yahoo.com server (at 216.109.112.135)
  11. DNS Response from *.yahoo.com server to Internet Service Provider(GO TO 206.190.56.229)
  12. DNS Query from Internet Service Provider to finance.yahoo.com server (at 206.190.56.229)
  13. DNS Response from finance.yahoo.com server  to Internet Service Provider at 192.168.1.100 (Yes, I am here)
  14. DNS Response from Internet Service Provider to User’s Computer (IP is 206.190.56.229)
Web Request Life Cycle Steps

Web Request Life Cycle Steps