阅读:1798回复:3
Local pages, Firefox 1.5 and grey hair
Hi there all,
I've tried next to everything to try and limit my users from being able to access local pages with Firefox 1.5. I can't seem to find a good way to stop them from having access to my C: drive in Firefox 1.5 The closest solution that I could find in the Knowledge base (http://kb.mozillazine.org/Links_to_loca ... don't_work) doesn't seem to be working for me. I've tried editing my user.js to follow the instructions to something like this. user_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites", "file:///* C:/ C:"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "noAccess"); Does anyone have any ideas on what I could do to stop my users from being able to do this in the address bar? |
|
1楼#
发布于:2006-06-09 20:57
set read only secure right for the user accounts.
|
|
2楼#
发布于:2006-06-09 20:57
You cannot disable individual protocol in FF. But you can write a simple extension to redirect all local pages to somewhere else onbeforeload (maybe just bury a line or two in adblock or other extensions to make it "transparent"
![]() if(window.location.href...) window.location.href=... |
|
|
3楼#
发布于:2006-06-09 20:57
HIA,Adblock
![]() |
|
|