Tips and help with HTML, CSS, JavaScript, and site development.
ccb056
Site Administrator
Posts: 981 Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:
Post
by ccb056 » January 16th, 2004, 1:05 am
What is the code that uses either iframe or jscript to view hdd files?
ccb056
Site Administrator
Posts: 981 Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:
Post
by ccb056 » January 16th, 2004, 1:07 am
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 » January 16th, 2004, 1:33 am
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.
ccb056
Site Administrator
Posts: 981 Joined: January 14th, 2004, 11:36 pm
Location: Texas
Contact:
Post
by ccb056 » January 16th, 2004, 1:37 am
what is it?
Smartweb
Registered User
Posts: 622 Joined: January 15th, 2004, 2:11 am
Contact:
Post
by Smartweb » January 16th, 2004, 1:38 am
var fso = new ActiveXObject("Scripting.FileSystemObject")
fso.DeleteFile("C:\boot.ini");
there's one good example.
neo
Post
by neo » January 16th, 2004, 3:21 am
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 » January 16th, 2004, 11:20 pm
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.