Block File System Browsing
-
- Posts: 4
- Joined: July 28th, 2007, 8:09 am
Block File System Browsing
Hi,
We're developing a kiosk based on firefox 2 - so far, we've got it pretty well locked down, but are struggling with the file system browsing.
How is it possible to prevent users from accessing / and looking through the hd?
Thanks in advance,
Simon
We're developing a kiosk based on firefox 2 - so far, we've got it pretty well locked down, but are struggling with the file system browsing.
How is it possible to prevent users from accessing / and looking through the hd?
Thanks in advance,
Simon
- the-edmeister
- Posts: 32249
- Joined: February 25th, 2003, 12:51 am
- Location: Chicago, IL, USA
Take a look at these:
http://kb.mozillazine.org/Locking_preferences
http://www.neveprise.net/main.do?id=how ... efox-kiosk
Kiosk browser extensions:
https://addons.mozilla.org/firefox/509/
https://addons.mozilla.org/firefox/1659/
https://addons.mozilla.org/firefox/954/
https://addons.mozilla.org/firefox/616/
https://addons.mozilla.org/en-US/firefox/addon/3911
.
http://kb.mozillazine.org/Locking_preferences
http://www.neveprise.net/main.do?id=how ... efox-kiosk
Kiosk browser extensions:
https://addons.mozilla.org/firefox/509/
https://addons.mozilla.org/firefox/1659/
https://addons.mozilla.org/firefox/954/
https://addons.mozilla.org/firefox/616/
https://addons.mozilla.org/en-US/firefox/addon/3911
.
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.
-
- Posts: 4
- Joined: July 28th, 2007, 8:09 am
Thanks for the answer.
Second link not working though.
The first kiosk for museum looks great, although it's apparently not compatible with firefox!
Have tried rkiosk, but there's a massive problem with the extension. If you open a popup window, it completely takes over the screen - no close button - very irritating and don't know how to solve. Have disabled javascript, but the apps we're running need that.
Am already using all the other extensions including another one, stealther.
Thanks,
Simon
Second link not working though.
The first kiosk for museum looks great, although it's apparently not compatible with firefox!
Have tried rkiosk, but there's a massive problem with the extension. If you open a popup window, it completely takes over the screen - no close button - very irritating and don't know how to solve. Have disabled javascript, but the apps we're running need that.
Am already using all the other extensions including another one, stealther.
Thanks,
Simon
- dickvl
- Posts: 54145
- Joined: July 18th, 2005, 3:25 am
Maybe remove the file protocol key in the registry:
HKEY_CLASSES_ROOT\file
http://kb.mozillazine.org/Network.proto ... rotocol%29
HKEY_CLASSES_ROOT\file
http://kb.mozillazine.org/Network.proto ... rotocol%29
-
- Posts: 4
- Joined: July 28th, 2007, 8:09 am
Hi,
have tried that with no success. Did find this post:
http://forums.mozillazine.org/viewtopic ... ight=kiosk
However, it doesn't work for version 2. If I could find the navigator.js I might be able to do it, but so far, no luck.
Simon
have tried that with no success. Did find this post:
http://forums.mozillazine.org/viewtopic ... ight=kiosk
However, it doesn't work for version 2. If I could find the navigator.js I might be able to do it, but so far, no luck.
Simon
-
- Posts: 4
- Joined: July 28th, 2007, 8:09 am
-
- Posts: 4
- Joined: July 28th, 2007, 8:09 am
Sorry, just seen your post. I put the above around line 1755:
function BrowserLoadURL(aTriggeringEvent, aPostData) {
var url = gURLBar.value;
if (url.match(/^file:/) || url.match(/^\//) || url.match(/^resource:/) || url.match(/^about:/))
{
alert("Access to this protocol has been disabled!");
exit
}
good luck
function BrowserLoadURL(aTriggeringEvent, aPostData) {
var url = gURLBar.value;
if (url.match(/^file:/) || url.match(/^\//) || url.match(/^resource:/) || url.match(/^about:/))
{
alert("Access to this protocol has been disabled!");
exit
}
good luck
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Just add and save.
JAR files are simply renamed zip files, so rename it to .ZIP, unpack it, modify the browser.js file and repack and rename it.
JAR files are simply renamed zip files, so rename it to .ZIP, unpack it, modify the browser.js file and repack and rename it.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Guest
Re: Block File System Browsing
Hi, I tried to do this in Firefox 3.5, but I can not find the BrowserLoadURL function.
How should I block about:config and file system browsing in firefox 3.5?
Thanks in advance
How should I block about:config and file system browsing in firefox 3.5?
Thanks in advance
-
- Guest
Re: Block File System Browsing
I am also looking for information on how to block File Browsing and About:Config in Firefox 3.5 (Windows XP)
Thanks guys!
Thanks guys!
-
- Guest
Re: Block File System Browsing
Hey guys still hunting for a resolution for this issue in Firefox 3.5
Thanks!
Thanks!
-
- Guest
Re: Block File System Browsing
Anonymous wrote:Hey guys still hunting for a resolution for this issue in Firefox 3.5
Thanks!
Same here ...
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Re: Block File System Browsing
Is the browser.js file no more in browser.jar?
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.