[研究]Windows Server 2019 IIS 10.0 預設副檔名列表
2026-01-19
留著參考,看預設值是甚麼。
共 43 個
.ad .adprototype .asax .ascx .browser .cd .compiled .config .cs .csproj .dd .dsdgm .dsprototype .exclude .java .jsl .ldb .ldd .lddprototype .ldf .licx .lsad .lsaprototype .master .mdb .mdf .msgx .refresh .resources .resx .rules .sd .sdm .sdmDocument .sitemap .skin .ssdgm .ssmap .vb .vbproj .vjsproj .vsdisco .webinfo |
| 副檔名 | 用途說明 | IIS / ASP.NET 是否會用 | 備註(安全面) |
|---|---|---|---|
.ad |
舊式 IIS / ODBC 資料描述檔 | ❌ | 建議封鎖 |
.adprototype |
SharePoint / 設計工具暫存 | ❌ | 幾乎不該外露 |
.asax |
ASP.NET 應用程式事件(Global.asax) | ✅ | 必須封鎖下載 |
.ascx |
ASP.NET 使用者控制項 | ✅ | 必須封鎖 |
.browser |
ASP.NET Browser 定義檔 | ✅ | 不應被下載 |
.cd |
Visual Studio 元件描述 | ❌ | 可封鎖 |
.compiled |
ASP.NET 預編譯標記檔 | ✅ | 內部用 |
.config |
設定檔(web.config) | ✅ | 一定要封鎖 |
.cs |
C# 原始碼 | ❌ | 絕不可外洩 |
.csproj |
C# 專案檔 | ❌ | 開發階段 |
.dd |
Visual Studio 設計資料 | ❌ | |
.dsdgm |
Dataset 設計圖 | ❌ | |
.dsprototype |
資料集原型檔 | ❌ | |
.exclude |
發佈排除清單 | ❌ | |
.java |
Java 原始碼 | ❌ | |
.jsl |
舊式 JScript.NET | ❌ | 幾乎淘汰 |
.ldb |
Access Lock 檔 | ❌ | |
.ldd |
SQL Server 設計階段檔 | ❌ | |
.lddprototype |
SQL Server 原型檔 | ❌ | |
.ldf |
SQL Server Log File | ❌ | 極敏感 |
.licx |
.NET 元件授權清單 | ❌ | |
.lsad |
SharePoint / VS 設計檔 | ❌ | |
.lsaprototype |
SharePoint 原型 | ❌ | |
.master |
ASP.NET Master Page | ✅ | 必須封鎖 |
.mdb |
Access 資料庫 | ❌ | 高風險 |
.mdf |
SQL Server Data File | ❌ | 極敏感 |
.msgx |
舊 ASP.NET 訊息資源 | ⚠️ | 罕見 |
.refresh |
Visual Studio 自動重整 | ❌ | |
.resources |
.NET 編譯後資源 | ❌ | |
.resx |
.NET 資源原始檔 | ❌ | |
.rules |
URL Rewrite 規則 | ⚠️ | 依環境 |
.sd |
VS 設計資料 | ❌ | |
.sdm |
VS 設計模型 | ❌ | |
.sdmDocument |
VS 設計文件 | ❌ | |
.sitemap |
ASP.NET Sitemap | ✅ | 不應下載 |
.skin |
ASP.NET Theme Skin | ✅ | |
.ssdgm |
Server Explorer Diagram | ❌ | |
.ssmap |
SourceSafe 對應 | ❌ | |
.vb |
VB.NET 原始碼 | ❌ | |
.vbproj |
VB.NET 專案檔 | ❌ | |
.vjsproj |
JScript.NET 專案檔 | ❌ | |
.vsdisco |
Web Service Discovery | ⚠️ | 已過時 |
.webinfo |
IIS / VS 發佈資訊 | ❌ |
(完)
沒有留言:
張貼留言