Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

user regestration output  Bottom

  • what i would liek to do is make it so that evry time a user regesters PN add's parts of their regestration info to a file .. mainly jsut username and pass .... the reason i would liek to do this is that my ftp servr stores its usernames and their passwords as a text document .. i would liek to make it so that evy new user is also regesterd with the ftp server .... .. ive learned that almost anythign is doable .. does anyone know how to go about this ??
  • Why not write a script that read the DB for username and password combo and then oututs it to a text file you could then cron the job to run every few hours and that would solve your problem.
  • yeah i had thought of that myself .. but i still dot know how to make it send output to a text document ....what im asking is how to tell it to send output to a text document
  • The password is MD5 hash protected in the DB, so in theory you can not reverse it back to clear-text.

    Even if if could be done - you should not do it casually since this is going to create a potential loop hole in your server.
  • yeah .. so is there anyway to have all the passwords and their corrisponding names saved as a text document (all of this bieng serverside not client) and for it to be secure?
  • kage12

    yeah .. so is there anyway to have all the passwords and their corrisponding names saved as a text document (all of this bieng serverside not client) and for it to be secure?


    Hijack the New-User registration page and the Change Password page plus the Lost-Password page. You then can intercept the username, password input in clear text and write to a directory outside of the web root as an encrypted file. Then use write another server script to regularly decrypt these files and create the master pwd file.
  • wow thats really complicated .... can someone point me to where i might be able to get some help on doing that?
  • kage12

    .... the reason i would liek to do this is that my ftp servr stores its usernames and their passwords as a text document .. i would liek to make it so that evy new user is also regesterd with the ftp server ....


    Then perhaps you should change your approach and using the UpDownload module (or the more complicated NukeOwl module) instead of FTP service - that way, your users can have read and write access to share files.
  • well jsut having read & write acxess isnt my goal .. firstly i was hopeing to use it to tracdk user activity .. like i could see whos downloading what

    second .. i have thousands of files .. i cant add them all
    ( iif neones ever herd of a code that can auto add files .. id be interested .. doesnt really evin HAVE to be PN i can incor4perate it)

    third .. i wantedto be able to set individual permissions .. like allow some ppl to upload and others to edit and stuf like that
    (thats not a ig issue, im currently writing a permissions section for updownload)

This list is based on users active over the last 60 minutes.