Password-Protect iWeb Sites

11 May '08 Filed under Tutorials, iTweak, iWeb -

14 Comments

  1. Pedro Da Silba posted:

    Was a bit confuse but then work great! Thanks

  2. trixit posted:

    Great article Max! It shows that you really care about iTweak.

    My question would be how to protect certain part of your site. Like, lets say, one page or several pages.

  3. Max Karreth posted:

    Trixit,

    Thats probably gonna get a bit difficult because you’d end up writing the files yourself - so iTweak won’t be any use to you. :-D
    Two options here, either you put those pages you want to protect into a separate site folder OR you drop me mail and ill show you how to protect individual pages. :-D
    Max

  4. trixit posted:

    I was thinking about doing it through a separate folder. I don’t need the functionality now… I was just curious.

  5. Chris posted:

    Hi! great little app, but i can’t quite get it to work… doing everything for pwd protection to protect one single site folder. It all seems to work but then it doesn’t accept the password I’ve entered. I’ve tried different user/passwords, and generated the crypted password using different generators on different sites. Any help much appreciated.

    cheers

    c

  6. Chris posted:

    Hi Max,

    Is this a problem that can’t be worked around?

    thanks

    c

  7. Max Karreth posted:

    Chris,

    Sorry for not replying to your comment in the first place, I must have skipped it. Would you mind sending me an email with the password you want to use and the crypted version so I can see what is wrong.
    Also, if you upload your site to your server and then activate (under “view” in most cases”) to show invisible files, you see a file named .htaccess and .htpasswd. Rename both to pps.htacess and pps.htpasswd and send them to me as well. The email address is mail at guimkie dot com.

    Thanks,

    Max

  8. Nathaniel posted:

    I followed all of the steps in the tutorial, but I am still having no luck. I went through the encryption process and absolute path. I feel that I went wrong in the absolute path step because the extension was d:\\hosting…..then my website information. Could this be a correct address. I also need help with just protecting one web page on the site. Any feedback would be extremely helpful. Thanks.

    -Nathaniel

  9. Max Karreth posted:

    Nathaniel,

    Do you mind sending me a screenshot of this PHP file where you get the path? You can use this email: mail@@@guimkie.com (delete two of the @s - just a spam measure).

    Regards,

    Max

  10. Andy posted:

    Hi, I’m having trouble getting this app to work as well. And I think I’m missing a step.

    Do you need to publish the iWeb site to its local folder after any of these steps? Can I copy limited files from the published folder to the server or does the whole site need to be re-uploaded?

    After all of the above steps I’m seeing the invisible .htaccess files in my published folder and uploading them to my server (Using Fetch) and was hoping that this would be sufficient. But I’m not sure what other files iTweak is affecting that need to be replaced through the ftp connection.

    I also copied the .php file up to the server to get the Script_Filename address.

    I’m using iWeb 08 (2.0.3) and iTweak (1.4.5) Fetch (5.0.2) Safari and Firefox, cleaning cache for testing, and the Finder to access the invisible files and navigate to the rest of the published folder. Mac OSX 10.4.11

    My server definitely handles .htaccess protection.

    Thank you for any light can you shed on this.

    - A

  11. Andy posted:

    ok, I think I got it working. Sorry for the long comment. But like Chris above, the log-in box will not accept the password I’m using. Any fixes?

  12. Max Karreth posted:

    Andy,

    Yes, if you see the invisible files with Fetch, then go ahead and only upload them. Its just that most people dont see the invisible files and so you have to upload the whole folder. Because you see them, go ahead and upload only the invisible files and all the things you wish.

    For the password. Are you sure you have copied the correct encrypted password? Are you also sure that the path in the htaccess file is correct? Drop me a mail if you have further problems.

    Regards,

    Max

  13. brian posted:

    I had no luck trying to get Comcast to tell me the absolute path to the .htpaaswd file. Any advice?

  14. Max Karreth posted:

    Brian,

    They did not tell you the path? I would drop them a call and tell them you need that thing ASAP and since your paying them, you should be at least informed about your path.
    Else, just use the file to get the path.

    Max

Post a comment: