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

  • <tfoot id='ybF3f'></tfoot>
    • <bdo id='ybF3f'></bdo><ul id='ybF3f'></ul>

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

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

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

        使用 MySQL 的 SVN 身份驗證

        SVN Authentication using MySQL(使用 MySQL 的 SVN 身份驗證)

        1. <tfoot id='Ulfx5'></tfoot>

              <legend id='Ulfx5'><style id='Ulfx5'><dir id='Ulfx5'><q id='Ulfx5'></q></dir></style></legend>
                <bdo id='Ulfx5'></bdo><ul id='Ulfx5'></ul>
              • <small id='Ulfx5'></small><noframes id='Ulfx5'>

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

                  本文介紹了使用 MySQL 的 SVN 身份驗證的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在嘗試通過 MySQL 設(shè)置每個存儲庫的 SVN 身份驗證,但我遇到了一些問題.

                  I'm trying to setup per repository SVN authentication via MySQL but I'm having a few problems.

                  首先mod_authn_dbdmod_auth_mysql有什么區(qū)別?

                  其次,我已經(jīng)有一個 MySQL 數(shù)據(jù)庫設(shè)置,其中包含一個用于用戶、組和權(quán)限的表.是否可以使用這些 mod 中的任何一個鏈接到我當(dāng)前的權(quán)限系統(tǒng),其中需要用戶名、密碼和權(quán)限才能訪問存儲庫(每個存儲庫最好具有讀取權(quán)限和寫入權(quán)限)

                  Secondly I already have a MySQL database setup with a table for users, groups and permissions. Is it possible using either of these mods to link into my current permission system where by a username, password and permission is required to access the repository (Preferable with a read permission and write permission per repository)

                  tbl_users:user_id、user_name、user_hash

                  tbl_users: user_id, user_name, user_hash

                  tbl_group: group_id, group_name

                  tbl_group: group_id, group_name

                  tbl_permission:permission_id、permission_name

                  tbl_permission: permission_id, permission_name

                  tbl_user_group: user_id, group_id

                  tbl_user_group: user_id, group_id

                  tbl_group_permission:group_id、permission_id

                  tbl_group_permission: group_id, permission_id

                  tbl_user_permission:user_id、permission_id

                  tbl_user_permission: user_id, permission_id

                  推薦答案

                  首先是區(qū)別.

                  mod_authn_dbd 提供身份驗證前端,例如 mod_auth_digest 和 mod_auth_basic通過在 SQL 表中查找用戶來驗證用戶.

                  mod_authn_dbd provides authentication front-ends such as mod_auth_digest and mod_auth_basic to authenticate users by looking up users in SQL tables.

                  mod_auth_mysql 是一個 Apache 模塊,允許使用存儲在 MySQL 數(shù)據(jù)庫中的用戶和組數(shù)據(jù)進(jìn)行身份驗證.該項目似乎自 2005 年以來就沒有更新過,所以我會選擇 mod_authn_dbd.

                  mod_auth_mysql is an Apache module that allows authentication using user and group data stored in MySQL databases. The project seems to not have updated since 2005, so I'd go for mod_authn_dbd.

                  要正確設(shè)置,首先需要在 apache 配置中正確配置 mod_authn_dbd 和 mod_dbd,mod_dbd 負(fù)責(zé)數(shù)據(jù)庫連接.完成此操作后(確保您的 Apache 在這些模塊處于活動狀態(tài)的情況下運行),然后您可以繼續(xù)配置它們.

                  To set this up properly, first you need to configure mod_authn_dbd and mod_dbd up properly in your apache configuration, mod_dbd takes care of your database connection. Once you've done this (make sure your Apache is running with those modules active), then you can go ahead configuring them.

                  在您的 apache 配置中添加類似的內(nèi)容以配置數(shù)據(jù)庫連接:

                  Add something like this to your apache configuration to configure the database connection:

                  <IfModule mod_dbd.c>
                    DBDriver mysql
                    DBDParams "host=(your_db_server, p.e. 127.0.0.1) dbname=your_db_name user=your_db_user pass=your_db_pass"
                    DBDMin 1
                    DBDKeep 8
                    DBDMax 20
                    DBDExptime 200
                  </IfModule> 
                  

                  現(xiàn)在將您想要的身份驗證配置添加到 apache 配置中:

                  Now add your desired authentication configuration into the apache configuration:

                  <Directory "/your/svn/repository/path/">
                    Options FollowSymLinks Indexes MultiViews
                    AuthType Basic
                    AuthName "Allowed users Only"
                    AuthBasicProvider dbd
                    AuthDBDUserPWQuery "SELECT pwd FROM tbl_users, tbl_user_group WHERE tbl_users.user_id=%s AND tbl_user.user_id=tbl_user_group.user_id"
                    Require valid-user
                    AllowOverride None
                    Order allow,deny
                    Allow from all
                  </Directory>
                  

                  為了更好的可讀性,我已經(jīng)簡化了 SELECT 語句,您必須擴(kuò)展它以完善您的配置.

                  I've simplified the SELECT-statement for better readability, you have to expand this to get your configuration refined.

                  打字后我在網(wǎng)上找到了一個很好的例子,也許可以閱讀它此處,也是.它比我的簡化答案更深入.

                  After typing I've found a very good example in the web, maybe read it here, too. It goes alot deeper than my simplified answer.

                  這篇關(guān)于使用 MySQL 的 SVN 身份驗證的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項是忽略整個事務(wù)還是只是有問題的行?) - IT屋-程序員軟件開發(fā)技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環(huán)數(shù)組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時發(fā)生錯誤 沒有合適的驅(qū)動程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫表作為 Spark 數(shù)據(jù)幀讀取?)
                  <tfoot id='Txyvm'></tfoot>

                      <tbody id='Txyvm'></tbody>
                    <legend id='Txyvm'><style id='Txyvm'><dir id='Txyvm'><q id='Txyvm'></q></dir></style></legend>

                        1. <small id='Txyvm'></small><noframes id='Txyvm'>

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

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

                            主站蜘蛛池模板: av在线一区二区三区 | 女人av| 天天弄| 精品免费 | 久久亚洲一区 | 国产亚洲精品精品国产亚洲综合 | 97视频在线看 | 瑟瑟视频在线看 | 久久丝袜 | 成人在线免费观看av | 久久国产成人 | 狠狠干美女| 中文字幕日韩欧美一区二区三区 | 麻豆精品国产91久久久久久 | 黄色三级在线播放 | 91伦理片 | 精品国产一区二区国模嫣然 | 亚洲三区在线观看 | 久久国产精品精品 | 精品视频在线播放 | 久久久久久久一区二区三区 | 欧美福利一区 | 男女下面一进一出网站 | 视频在线一区 | 日本三级线观看 视频 | 毛片免费观看 | 国产精品夜间视频香蕉 | 中文字幕第5页 | 亚洲天天| 中文av网站| 国产精品久久久久久网站 | 欧美 日韩 国产 成人 在线 | 99re6热在线精品视频播放 | av在线一区二区三区 | 欧美成人手机视频 | 婷婷丁香激情 | 亚洲欧美激情国产综合久久久 | 亚洲成在线观看 | 亚洲视频一区在线观看 | 国产高清视频一区 | 国产欧美日韩精品一区二区三区 |