惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - NeilChen

恢复 Windows 7 的“回到父目录”按钮 SQL Server 事务自动回滚 下载 infoq 网站视频 也做了一下腾讯前端面试题 Select prototyping tools Lisp in Small Parts TechTalk by Peter Seibel on Common Lisp 时隔3年,再做双倍超立方数的题目,这次用Lisp Racket, SICP stream learning Operation is not valid due to the current state of the object lisp 笔记 - 闭包 Common Lisp 在 Windows 上的开发环境比较 翻译英文技术文章是一件很可耻的事情吗? 写了个博客备份的 ruby 程序 体验 Clozure CL 试用 Portable Allegro Serve Windows XP, Emacs, CLisp, SLIME 关于 Business Rule Engine Irony - 一个 .NET 语言实现工具包 - NeilChen
FireFox 脑残的安全设定
NeilChen · 2012-08-31 · via 博客园 - NeilChen

今天安装了最新的 FireFox 15, 没想到一用就出问题了(也可能这个问题在之前版本就存在,只是没有注意过)。

在开发 asp.net 程序时,采用了 VS 自带的 web server 进行测试。用 FireFox 打开地址 http://localhost:95

会报一个错误:

This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.

大意就是,告诉我95端口不是 http 的默认端口,Firefox 为了我好,自动取消了请求。

我先是尝试到 options 里面去找了一下,根本就没有这个选项可以取消这个设定。

纯属蛋疼!这要多么脑残才能想出这个设定啊?

对程序员而言,本机经常可能开很多端口进行 web 程序的开发,不使用标准端口实在是太平常了。而 Firefox 一向在我心中的形象就是对开发者友好,这让人情何以堪啊。

Google 了一下,修改这个设定的方式如下:

- Open Firefox 
- Type about:config in the address field 
- Right click anywhere on the screen 
- Click new > string 
- Enter preference name as: network.security.ports.banned.override 
- Enter string value as: 2049 (or whatever port number you want)

可见这个方法本身也是充满了 hack 的味道,绝非正常设定方式。而且每开一个端口就要重复设置一次的,并不是一劳永逸。唉!

更新:发现 Chrome 也有类似的设定。

简单的方法是,将端口号总是设置为大于 1024 的,即可绕过这个限制。