|
Web Design Tutorials
|
|
Show Hard Drive Files
Introduction.
Have you ever visited those Security websites where they have a little window
which displays your own C drive files and tell you about your security holes?
It is a form of intimidation to portray how vulnerable ones computer is. Here is how they do it.
Basic Code:
The basic code uses an iframe which is not viewable on all browsers unfortunatly:
<iframe src="file:\\\C:\" width="90%" height="200"></iframe>
Result:
The user can now see the contens of his/her hard drive, in this case the C:\ drive.
|
|