• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Encrypting passwords with AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encrypting passwords with AS


  • Subject: Re: Encrypting passwords with AS
  • From: webguide <email@hidden>
  • Date: Fri, 07 Feb 2003 07:47:59 +1100

G'day Paul

> How about posting the shell script you're using? That would make it
> quite a bit easier to help you with implimenting a 'do shell script'
> call.

By way of explanation, there are two components to setting up .htaccess
files. There's the .htaccess file itself and then a separate encrypted
.htpasswd file. I'm using a shell script for the password file (and
encryption) but vanilla AS for the access file.

The relevant AS portion is this:

--create the necessary .htaccess information
set writeString to "AuthName " & "\"" & myclient & " private folder\"
AuthType Basic
AuthUserfile /library/webserver/.htpasswd
Options Indexes FollowSymLinks MultiViews
fancyindexing on
require user" & myusername

The problem is that this snippet contains Mac line endings and it requires
Unix line endings. I tried the obvious (saving as *nix and copying it into
the script) but it reverts back to mac endings.

I'm open to any suggestions.

Cheers

kim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Encrypting passwords with AS (From: Paul Skinner <email@hidden>)

  • Prev by Date: RE: UI Scripting: Setting Save As Folder
  • Next by Date: Re: QuarkXpress save spread as EPS ?
  • Previous by thread: Re: Encrypting passwords with AS
  • Next by thread: Re: Encrypting passwords with AS
  • Index(es):
    • Date
    • Thread