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 Quote 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. Quote 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? Quote 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. Quote 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 Quote 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. Quote 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.. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.