RE: About integers
RE: About integers
- Subject: RE: About integers
- From: "Francois Houle" <email@hidden>
- Date: Thu, 3 Mar 2005 16:47:24 -0500
- Thread-topic: About integers
What lead me to ask about this here is this post on a forum... It may
help better understand what I am trying... And the person who posted
this usually knows what he's taking about:
>>The file could easily be created with an Applescript script. The
mount_webdav zeros the file after reading it, so it's pretty secure.
Format the file as such:
XX<user_name>XX<password>
where XX is a 32bit unsigned integer indicating the length of the
following entry. This is not the ASCII number, but the actual number. Of
course <user_name> and <password> would be replaced with the ASCII data.
<<
Does that help ?
Otherwise, could you elaborate about this:
>>Why not just use mount volume and supply the password as part of the
mount?<<
Noting that when I do distribute this script the goal is to have the
user punch in his user name/password each time (have to follow these
guide lines as other wise our security group will not allow the script
to be used). That is why mount_webdav is attractive as it removes the
info after the connection is successful.
Frank
-----Original Message-----
From: applescript-users-bounces+francois.houle=email@hidden
[mailto:applescript-users-bounces+francois.houle=email@hidden.c
om] On Behalf Of John C. Welch
Sent: Thursday, March 03, 2005 11:00 AM
To: AppleScript User's List
Subject: Re: About integers
On 3/3/05 8:33 AM, "francois.houle" <email@hidden> wrote:
> So it is secure in the end... So I either need to figure that out, or
> how to script the webdav Connect to Server window so that its hidden
> and the user/pass feed comes from my AS... But count that for each
> user the window will have a different name (it changes depending on
> the server name that your connecting too) Any help is appreciated !!!
Why not just use mount volume and supply the password as part of the
mount?
You can then use the keychain to store the password, (which you can
ALWAYS do anyway, regardless of use.). If you use mount volume with
http:// URLS against a WebDAV server, you'll get the mount, and you'll
know where the mount is, namely /Volumes/ShareName.
It'll still be useable in the larger script, the name will be simple
since you have to use it to mount the share anyway, and it's a standard,
supported, well - known way to mount WebDAV shares.
I'm curious as to why you feel you need the file descriptor for the
mount.
john
--
If someone passes out on the couch and you want to put them in a
figure-four leglock, ensure that the hold is correctly applied before
they wake and mess your goddamn knee all up.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mcgill.ca
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden