![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: php, security |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| ||||
| Encryption is a touchy subject with a server application. Here's the problem: If your script can decrypt the information, then anyone with access to it can decrypt it too. Unless you have a dedicated server protected by armed guards and the code is set to use public-key cryptography with the public key for each client used to store the data locally and the data is decrypted with their private key on their browser over a secure connection, your encryption stands a chance of being broken. I have never been able to achieve that. What are you trying to encrypt? What open source software are you talking about? |
| ||||
| That's not encryption. That's a hash. The difference? You can't decrypt a hash (with any degree of ease). They're functions without an inverse (explicit or able to be determined numerically). The idea is that you will never know their password. So, how do you know if they can login? You hash the password entered when logged in and compare the hashed values -- if equal you can assume they are the same and allow login. And, if you're looking at OSC, stop. Use free, open source shopping cart software from Zen Cart instead. |
| The Following User Says Thank You to TeraTask For This Useful Post: | ||
HelloWorld (11-05-2007) | ||
| ||||
| Well i dont have much knowledge on that but its free, popular and theres many add-ons you can study to find how things are done. |
| ||||
| Zen Cart's code base is cleaner and easier to work with, it is more often updated, the developers are a bit snotty, but the OSC developer is well known to be a **** (put in some negative term that won't get me sued). Zen Cart was started by some OSC developers who go tired of the guy who runs OSC and decided to make a better version, so they took the OSC source and started modifying it. That was years ago. Whenever I do shopping carts I refuse to use OSC and always use Zen Cart (even if that means losing the contract). I used to use OSC, but quickly got fed up with the codebase and how challenging it was to do anything and started hunting for something else -- I found Zen Cart. That said, there are other carts out there too, but if you're looking at OSC I recommend moving straight over to Zen Cart to make your life easier. |
![]() |
| Thread Tools | |
| Display Modes | |
| |