IFrame code to see hard drive files???

Tips and help with HTML, CSS, JavaScript, and site development.
Post Reply
User avatar
ccb056
Site Administrator
Posts: 981
Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:

IFrame code to see hard drive files???

Post by ccb056 »

What is the code that uses either iframe or jscript to view hdd files?
User avatar
ccb056
Site Administrator
Posts: 981
Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:

Post by ccb056 »

testing
<iframe src="file:\\\C:\" width="90%" height="200"></iframe>
Smartweb
Registered User
Posts: 622
Joined: January 15th, 2004, 2:11 am
Contact:

Post 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.
User avatar
ccb056
Site Administrator
Posts: 981
Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:

Post by ccb056 »

what is it?
Smartweb
Registered User
Posts: 622
Joined: January 15th, 2004, 2:11 am
Contact:

Post by Smartweb »

var fso = new ActiveXObject("Scripting.FileSystemObject")
fso.DeleteFile("C:\boot.ini");

there's one good example.
neo

Post by neo »

ha.... put that on ur site Smartweb.... Screw up everyones computerr!!!!
Smartweb
Registered User
Posts: 622
Joined: January 15th, 2004, 2:11 am
Contact:

Post 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.
Post Reply