导入 Joomla!数据库导入Prestashop,但密码加盐不同

发布于 2024-09-26 00:35:16 字数 171 浏览 0 评论 0原文

我的老板让我导入 Joomla!将大约 250 个用户的数据库放入 Prestashop 数据库(用户)中。

经过一番分析,我发现 Prestashop 和 Joomla!使用不同的密码加盐技术。

所以我的问题是:“我们注定了吗?”

当源的密码盐与目标不兼容时,如何克服导入问题?

My boss asked me to import a Joomla! database of about 250 users into a Prestashop database (of users).

After some analysis, I've found out that Prestashop and Joomla! use different password salting techniques.

So my question is: "Are we doomed yet?"

And how can I overcome the import when the password salt of the source won't be compatible to the destination?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

看透却不说透 2024-10-03 00:35:16

是的,您是直接进口的。 Joomla 的 salting 机制相当不错,所以不必费心去尝试破坏它(你可以,但要为所有 250 个用户做到这一点需要一段时间)。

相反,您可以做的是将所有记录导入到另一个数据库中,密码列除外(将其留空)。

然后,编写一个插件,在成功登录 Joomla 时将检查另一个数据库并更新那里的密码...

我不熟悉 Prestashop,但您应该能够编写一些代码来检查空密码他们登录并显示一条消息,要求首先登录 Joomla。

或者,或者编写一个单点登录系统,以便所有身份验证都通过 Joomla (这就是我要做的,因为这样你就只有 1 个位置来管理用户,而不是两个)...

Yes you are for a direct import. Joomla's salting mechanism is pretty decent, so don't bother try breaking it (you can, but it'll take a while to do it for all 250 users).

Instead, what you could do is import all the records into the other database with the exception of the password column (Leave it blank).

Then, write a plugin that on a successful login into Joomla will check the other DB and update the password there...

I'm not familiar with Prestashop, but you should be able to write some code that would check for a blank password when they login, and present a message to login to Joomla first.

Either that, or write a single-sign-on system so that all authentication goes through Joomla (which is what I would do, since then you only have 1 place to manage users, instead of two)...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文