前言
最近系統透過 Checkmarx V9.2.0 HF16 掃時,
居然多出了 Unencrypted_Web_Config_File 的風險問題。
使用 aspnet_regiis.exe 去加密連線字串區段還是會噴那個風險。
Hello! 我是 RM
請同事到客戶端依 ASP.NET 中如何保護靜態檔案,例如 XLS, DOC or TXT 等檔案?中的傳統模式來設定。設定後,在測試網頁時,居然會出現 無法辨認的組態區段 ‘system.webServer’ 的錯誤。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true