久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='Akdwx'></small><noframes id='Akdwx'>

      • <bdo id='Akdwx'></bdo><ul id='Akdwx'></ul>

        <legend id='Akdwx'><style id='Akdwx'><dir id='Akdwx'><q id='Akdwx'></q></dir></style></legend>

        <i id='Akdwx'><tr id='Akdwx'><dt id='Akdwx'><q id='Akdwx'><span id='Akdwx'><b id='Akdwx'><form id='Akdwx'><ins id='Akdwx'></ins><ul id='Akdwx'></ul><sub id='Akdwx'></sub></form><legend id='Akdwx'></legend><bdo id='Akdwx'><pre id='Akdwx'><center id='Akdwx'></center></pre></bdo></b><th id='Akdwx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Akdwx'><tfoot id='Akdwx'></tfoot><dl id='Akdwx'><fieldset id='Akdwx'></fieldset></dl></div>
        <tfoot id='Akdwx'></tfoot>

        使用 PHP/MySQLI/Apache 時在哪里安全地存儲證書/密鑰

        Where to securely store certs/keys when using PHP/MySQLI/Apache?(使用 PHP/MySQLI/Apache 時在哪里安全地存儲證書/密鑰?)

            <tbody id='3XI1H'></tbody>
          <legend id='3XI1H'><style id='3XI1H'><dir id='3XI1H'><q id='3XI1H'></q></dir></style></legend>

              <i id='3XI1H'><tr id='3XI1H'><dt id='3XI1H'><q id='3XI1H'><span id='3XI1H'><b id='3XI1H'><form id='3XI1H'><ins id='3XI1H'></ins><ul id='3XI1H'></ul><sub id='3XI1H'></sub></form><legend id='3XI1H'></legend><bdo id='3XI1H'><pre id='3XI1H'><center id='3XI1H'></center></pre></bdo></b><th id='3XI1H'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3XI1H'><tfoot id='3XI1H'></tfoot><dl id='3XI1H'><fieldset id='3XI1H'></fieldset></dl></div>
              <tfoot id='3XI1H'></tfoot>

              • <small id='3XI1H'></small><noframes id='3XI1H'>

                  <bdo id='3XI1H'></bdo><ul id='3XI1H'></ul>
                • 本文介紹了使用 PHP/MySQLI/Apache 時在哪里安全地存儲證書/密鑰?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有單獨的 Web (Apache/PHP) 和數據庫 (MySQL) 服務器,它們通過 SSL 連接使用 mysqli,運行良好.在框架內的數據庫連接庫的ssl_set()函數中,我可以指定keys/pem文件的路徑,只要在docroot內即可.如果文件在 docroot 之外,我顯然無法訪問它們,并且連接失敗.

                  I have separate web (Apache/PHP) and database (MySQL) servers using mysqli over an SSL connection working nicely. In the ssl_set() function in the database connection library within the framework, I can specify the path to the keys/pem files as long as it's within the docroot. If the files are outside the docroot, I obviously cannot access them, and the connection fails.

                  在 apache docroot 之外存儲和訪問 mysql 客戶端 ssl 密鑰的最安全方法是什么?

                  What is the most secure method for storing and accessing mysql client ssl keys outside the apache docroot?

                  是否可以安全使用ini_set",以便我可以即時"允許該訪問,然后刪除該參數?還是應該使用符號鏈接?

                  Is there a secure use of "ini_set" whereby I can allow that access "on the fly" and then remove that parameter? Or should I use symlinks?

                  我在這里尋找最佳實踐.我想這個問題不限于證書密鑰,但我想確保您知道我的具體用例.

                  I'm looking for best practices here. I suppose this question isn't limited to cert keys, but I wanted to make sure you knew my specific use case.

                  謝謝!

                  推薦答案

                  我在這里尋找最佳實踐.我想這個問題不限于證書密鑰,但我想確保您知道我的具體用例.

                  I'm looking for best practices here. I suppose this question isn't limited to cert keys, but I wanted to make sure you knew my specific use case.

                  這個問題進入了一個領域,安全專家會在權衡不同威脅模型的問題上爭論不休,因此安全憑證管理沒有唯一正確的答案".但是,有大量明顯錯誤的答案.

                  This problem gets into a the territory where security experts will split hairs over trade-offs against different threat models, so there is no "one right answer" for secure credential management. However, there are a ton of obviously wrong answers.

                  Chris Cornutt 發表了一篇關于使用 Docker 保護 PHP 憑據 我強烈建議您閱讀有關解決憑據管理所涉及的威脅和策略的背景信息.

                  Chris Cornutt published an article about securing PHP credentials with Docker that I highly recommend reading for background information about the threats and strategies involved in solving credential management.

                  一般來說,psecio/secure_dotenv 會為大多數用戶解決這個問題.這是一個用于管理憑據的開源庫,這些憑據以靜態方式存儲它們.

                  In general, psecio/secure_dotenv will solve this problem for most users. This is an open source library for managing credentials that stores them encrypted at-rest.

                  如果您需要更高級的東西(或與產品集成,例如保險柜),您可能需要請安全專家來審查您的設計和實施.

                  If you need something fancier (or to integrate with a product, e.g. Vault), you may want to ask a security expert to review your designs and implementations.

                  這篇關于使用 PHP/MySQLI/Apache 時在哪里安全地存儲證書/密鑰?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  store_result() and get_result() in mysql returns false(mysql 中的 store_result() 和 get_result() 返回 false)
                  Call to undefined function mysqli_result::num_rows()(調用未定義的函數 mysqli_result::num_rows())
                  PHP Prepared Statement Problems(PHP 準備好的語句問題)
                  mysqli_fetch_array returning only one result(mysqli_fetch_array 只返回一個結果)
                  PHP MySQLi Multiple Inserts(PHP MySQLi 多次插入)
                  How do I make sure that values from MySQL keep their type in PHP?(如何確保 MySQL 中的值在 PHP 中保持其類型?)

                      1. <legend id='DFKNk'><style id='DFKNk'><dir id='DFKNk'><q id='DFKNk'></q></dir></style></legend>
                        <i id='DFKNk'><tr id='DFKNk'><dt id='DFKNk'><q id='DFKNk'><span id='DFKNk'><b id='DFKNk'><form id='DFKNk'><ins id='DFKNk'></ins><ul id='DFKNk'></ul><sub id='DFKNk'></sub></form><legend id='DFKNk'></legend><bdo id='DFKNk'><pre id='DFKNk'><center id='DFKNk'></center></pre></bdo></b><th id='DFKNk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DFKNk'><tfoot id='DFKNk'></tfoot><dl id='DFKNk'><fieldset id='DFKNk'></fieldset></dl></div>
                          <bdo id='DFKNk'></bdo><ul id='DFKNk'></ul>

                          <small id='DFKNk'></small><noframes id='DFKNk'>

                          <tfoot id='DFKNk'></tfoot>
                            <tbody id='DFKNk'></tbody>
                          • 主站蜘蛛池模板: 欧美日韩一区二区视频在线观看 | 亚洲精品中文字幕在线观看 | 久热久草 | 三级免费av | 亚洲天堂免费在线 | 国产h视频 | 精品欧美一区二区久久久伦 | avmans最新导航地址 | 国产精品久久免费观看 | 成人精品 | 日韩av一区二区在线观看 | 午夜精品视频在线观看 | 亚洲一区二区av在线 | 成人亚洲精品久久久久软件 | 天天操天天射天天舔 | 欧美亚洲成人网 | 国产免费一级一级 | 国产精品夜间视频香蕉 | 亚洲男女激情 | 欧美日韩精品 | 国产在线观 | 超碰在线播 | 小h片免费观看久久久久 | 激情小视频 | 中文字幕一区二区三区精彩视频 | 91亚洲精选 | 久久se精品一区精品二区 | 中文字幕精品视频 | 国产精品美女久久久 | av一级| 精品一区二区三区四区视频 | 狠狠操在线 | 成人一区av偷拍 | 欧美手机在线 | 免费在线播放黄色 | aaaa日韩| 国产精品s色 | 日本精品一区 | 久草视频在 | 人人擦人人 | 午夜一区 |