How to disable file:// protocol in firefox
I want the users not to browse the local files on the machine.
I already disabled SaveAs and OpenFile functions.
I want user not to browse the local files or open it if he know the full path.
firefoxprotocoluriurl
How to disable file:// protocol in firefox
I want the users not to browse the local files on the machine.
I already disabled SaveAs and OpenFile functions.
I want user not to browse the local files or open it if he know the full path.
Best Answer
I found a way to do this.
First the scenario of our problem is:
My suggested solution:
Download r-kiosk extension and modify it to run on firefox 3.5.*
Modify userPref.js to show the address bar in firefox ---- here we stop Save as,open file,remove extension,no viewsource,but users still browse the localfiles by typing file:///c:/ in url.
Modify dirListing.css in Firefox/chrome/classic.jar/skin/classic/(skin name)/dirListing
Hide elements like P,H1 by using
visiblity:hidden
You can use this image created by me to make it as body background:
Here is the result: