久久久久久久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) 和數(shù)據(jù)庫 (MySQL) 服務器,它們通過 SSL 連接使用 mysqli,運行良好.在框架內(nèi)的數(shù)據(jù)庫連接庫的ssl_set()函數(shù)中,我可以指定keys/pem文件的路徑,只要在docroot內(nèi)即可.如果文件在 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",以便我可以即時"允許該訪問,然后刪除該參數(shù)?還是應該使用符號鏈接?

                  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 發(fā)表了一篇關于使用 Docker 保護 PHP 憑據(jù) 我強烈建議您閱讀有關解決憑據(jù)管理所涉及的威脅和策略的背景信息.

                  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 會為大多數(shù)用戶解決這個問題.這是一個用于管理憑據(jù)的開源庫,這些憑據(jù)以靜態(tài)方式存儲它們.

                  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.

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

                  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模板網(wǎng)!

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

                  相關文檔推薦

                  store_result() and get_result() in mysql returns false(mysql 中的 store_result() 和 get_result() 返回 false)
                  Call to undefined function mysqli_result::num_rows()(調(diào)用未定義的函數(shù) 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>
                          • 主站蜘蛛池模板: 成人国产精品久久 | 国产在线观看一区二区三区 | 99国产精品久久久 | 午夜亚洲| 九九伦理片 | 中文字幕免费在线 | 久久成人精品一区二区三区 | 亚洲国产精品人人爽夜夜爽 | 日韩在线高清 | 一区二区三区国产 | 久久久久国产一区二区三区 | 蜜臀久久99精品久久久久久宅男 | 在线观看免费黄色片 | 成人在线观看免费 | 丝袜久久 | 人人做人人澡人人爽欧美 | 色黄爽| 久久久久久美女 | 中文字幕亚洲欧美 | 国产一区二区 | 亚洲二区视频 | av黄色片在线观看 | 国内精品视频在线 | 日韩中文一区 | 亚洲+变态+欧美+另类+精品 | 欧美日韩亚洲一区 | 国产久| 粉嫩av在线 | 91传媒在线播放 | 91麻豆久久久 | 欧美日韩电影一区二区 | 欧美成人激情 | 色资源站| 天天天操 | 一区二区三区四区在线 | 一区欧美 | 成人在线免费看 | 麻豆久久久久久 | 最新中文字幕一区 | 国产精品亚洲精品 | 日韩视频在线观看一区二区 |