English 中文(简体)
货币用户管理与安全
原标题:Mercurial user management and security

我刚刚在5.5×64服务器上安装了Mercurial 1.9.3。 Im 采用<代码>hgweb.wsgi和mod_wsgi出版我的储存库。

这一服务器只供我们的内部编码数据库和发展小组使用,因此,我也利用<代码>htaccess<>/code>和《吉卜赛人方案》基本认证保护我的服务器。 这一切都是好的,我可以把存放点带给当地,把变化推回中央储存库。

我不知道如何控制和管理用户。

例如,我在中央储存服务器中有两个用户:.htpassword file:bokevin

每一条<条码>。 s 当地机器有自己的Mecurial .hgrc文档及其username 配置的环境。

但<代码>。 用户似乎与遥远服务器<代码>上规定的用户数没有任何关系。

这意味着,我最后可以把“Mickey Mouse”和“Donald Duck”的中央存放处推向有益的中央存放处。

我如何最终完成对地方<代码>的绘制。 用户维护,即确保<代码>具体规定的用户。 匹配<代码>。

最佳回答

这完全是一个答案,但值得说:。 每个人都首先对此感到担忧,但实际上,这不仅是一个问题。

当用户与DVCS合作时,无论是单质的还是 g的,他们都不一定与你控制的任何认证/授权制度有关,因此,他们的承诺(当地)与他们想要宣称的任何作者身份有关。 之后,你可以拒绝在<代码>push<>/code>上对您的控制进行更改,但这将是对您和您来说都很重要的。 这不仅是一个重新调换他们的名字/口号的问题,他们必须改变这种变化的历史和随后的所有改动,以改变作者身份。

www.un.org/Depts/DGACM/index_french.htm

  • reject pushes where changeset authorship doesn t match authenticated users using a hook (in practice this sucks because developers pull from one another and push one another s changesets all the time)
  • make developers sign their changesets with the gpg extension or hgsigs (a huge hassle and they ll forget)
  • keep a pushlog on the server that records the authenticated user that pushed each changeset separate from its authorship (Mozilla does this, and it s less of a hassle that than others but still not likely to ever be consulted).

如果你能够积极地将变换成具体的传票,那么就使用一种人体过滤器,让人们推向共同的A,而只有审查者/购买者/青年才能从A的回波推到B,因为B号邮袋是官方建筑的。 雇佣军本身也使用这一系统。

最后,我的建议是不要担心。 值得雇用的发展者自豪地把自己的名字放在他们的承诺上,如果你没有开发商,就应该重新雇用你,否则就注定要失败了。

问题回答

How do I enforce end to end mapping of the local .hgrc username to the .htpassword user to maintain

没有这样做的途径。 但(而不是)《欧洲森林公约》延期+舒什(hg-ssh或mercurial-server)可以取得更可预测的结果。

PS

[ui] username =

usable and have sense only in changeset-comment context just as note, nothing more





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

MALICIOUS_CODE EI_EXPOSE_REP Medium

I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff resolved and now am looking at the details. I have a simple entity, say a user: public class User ...

XSS on jsbin.com

Anyone know if jsbin.com implements any protection for XSS or other javascript attacks? I see jsbin links used fairly regularly on sites like this one and I can t find any indication from the site ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...