w_lamp Posted March 27, 2007 Share Posted March 27, 2007 I want to create an Web Application like File Explorer in windows. eg: www.explore.com/exploredrives.php So that user can view his/her local drives, directories and files information in the browser. Is it possible to explore the local drives (not the server drives), directories and files using PHP. I tried but failed thx, w_lamp Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/ Share on other sites More sharing options...
per1os Posted March 27, 2007 Share Posted March 27, 2007 I do not think so, that would create a huge security breach. Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216350 Share on other sites More sharing options...
w_lamp Posted March 27, 2007 Author Share Posted March 27, 2007 How about using Javascript, is it possible. I tried this too. Because user will view his/her own drives right? Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216358 Share on other sites More sharing options...
per1os Posted March 27, 2007 Share Posted March 27, 2007 I do not think it matters. Think of it this way, if I can get the structure of your drives locally, I than can use that to determine different items and exploit your system. This opens up a can of worms that no one wants to touch. Even with JavaScript I could report to a file with all of your drive structures etc and from their find a loop hole to enter the system. With that said, there would probably be a way for me to exploit that JS code and gain read/write privileges to the local system. There is a reason you cannot do this. Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216361 Share on other sites More sharing options...
MadTechie Posted March 27, 2007 Share Posted March 27, 2007 Could always have an inner frame with a source of file:///C: anything else will be an exploit only real way is via ActiveX plugin Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216372 Share on other sites More sharing options...
dj-kenpo Posted March 27, 2007 Share Posted March 27, 2007 you can do it with java. facebook uses a java file explorer. Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216378 Share on other sites More sharing options...
MadTechie Posted March 27, 2007 Share Posted March 27, 2007 Yes.. true but for some reason i don't look at Java as a Web Language as it have its client own engine... but then again IE has hampster for an engine i think flash can also do it.. Link to comment https://forums.phpfreaks.com/topic/44546-how-to-explore-the-local-drives-with-php/#findComment-216382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.