fygenius
千年狐狸
千年狐狸
  • UID6352
  • 注册日期2005-05-26
  • 最后登录2019-05-01
  • 发帖数1116
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
阅读:1798回复:3

Local pages, Firefox 1.5 and grey hair

楼主#
更多 发布于:2006-06-09 20:57
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?
.
CrossBud
黄金狐狸
黄金狐狸
  • UID7038
  • 注册日期2005-06-29
  • 最后登录2016-08-31
  • 发帖数5948
  • 经验12枚
  • 威望2点
  • 贡献值40点
  • 好评度20点
  • 社区居民
1楼#
发布于:2006-06-09 20:57
set read only secure right for the user accounts.
abc@home
千年狐狸
千年狐狸
  • UID6047
  • 注册日期2005-05-16
  • 最后登录2011-01-01
  • 发帖数1681
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度1点
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=...



WINXP SP2 MAXTHON (UNICODE) PROXOMITRON
Jacky-Q
千年狐狸
千年狐狸
  • UID6896
  • 注册日期2005-06-20
  • 最后登录2012-07-23
  • 发帖数1076
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2006-06-09 20:57
HIA,Adblock
为了节省精力,再也不去理会发帖数少于10的人提的问题了.
游客

返回顶部