OT: Windows Vista security 'rendered useless' by researchers
Bob S wrote: The real bear here that I can see is the possibility of going to a perfectly valid web site to do my banking let's say, and then having content injected into my web browser unbeknownst to me that could compromise my credentials. THAT would be pretty bad. If that is what we are talking about, then this is far more profound than just another newly discovered vulnerability. This is inevitable with the rise of the person who does his/her programming and/or work on the hoof, the Digital Nomad: http://news.bbc.co.uk/2/hi/technology/7557604.stm and relies on some sort of thin-client laptop and a clutch of web-based apps. Even using ROM-based apps is not secure, as to work the app has to be copied across into RAM where it is vulnerable (at least for the length of its use: enough time for someone or something to gets its paws on your password, credit card number, et al.). What frightens me is not what happens inside my hardened computer, but what happens with signals sent between my browser and, say, the server of my bank. As my bank is in another country (rather than down the road) I do not have a dedicated cable/telephone link (and, come to think of it, were my bank just down the road I could just walk there) but have to send signals via the internet through a variety of servers; all or one of which could suborn my details. Then, of course, I suffer from an incurable tendency to order books through Amazon, and so on . . . Frankly, while I don't like what I have seen of 'Vista' (a bad View, to coin an even worse pun), I don't think the problem lies there - it lies out there, and, while it fashionable to bash Microsoft, the current situation seems like bashing an ethnic group because there are sexually communicable diseases, because that group is perceived to have a higher rate of infection than other ethnic/racial groups; it is really not relevant; what is relevant is what anti-virus software the individual members of the human race (regardless of ethnicity) use when they jump into bed with other members. And, like most people, my PC is extremely promiscuous . . . one can extend the simile until the point is hammered home and lots of people are extremely offended. But most of us can do the Maths without that. Nearer to home, we should all reflect on the fact that in the past HyperCard stacks were used as virus and worm carriers. I wonder how long it will be before we have diseased Revolution stacks? sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. Send instant messages to your online friends http://uk.messenger.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
missing a basic with drag
Hello, I think I am missing some basic setup for providing a function with which the user can drag around an image on the card (to position the img for printing) What I did is: on dragStart put the name of the target into gDragTarget - global --- on dragMove set the loc of gDragTarget to the mouseloc --- I get the dragStart trigger, but the image doesn't move. Do I have to set any property of the image to be draggable? (I found this property only with stacks, but not objects.?) What am I missing? Thanks for any hint to a still beginner :-) Tiemo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: missing a basic with drag
Hi Tiemo. Hello, I think I am missing some basic setup for providing a function with which the user can drag around an image on the card (to position the img for printing) What I did is: on dragStart put the name of the target into gDragTarget - global --- on dragMove set the loc of gDragTarget to the mouseloc --- I get the dragStart trigger, but the image doesn't move. Do I have to set any property of the image to be draggable? (I found this property only with stacks, but not objects.?) What am I missing? Thanks for any hint to a still beginner :-) dragstart/dragmove/dragenter etc. are meant for Drag and Drop operations! You are probably looking for a simple: on mousedown grab me end mousedown In the script of the object to be dragged around :-) Tiemo Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: missing a basic with drag
Thanks Klaus, that's what I was looking for! Sometimes things are so easy (if you know where to search for) Tiemo dragstart/dragmove/dragenter etc. are meant for Drag and Drop operations! You are probably looking for a simple: on mousedown grab me end mousedown In the script of the object to be dragged around :-) Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: missing a basic with drag
Isn't it as simple as this: on mouseDown grab me Works for me... is it meant to be more complicated? (Hehe, sorry everything else has been so far, I'm a n00b too!) *** I wasn't going to send this now I'm very happy to see that it was indeed correct woohooo! :D Cheers, Heather - Original Message - From: Tiemo Hollmann TB [EMAIL PROTECTED] To: 'How to use Revolution' use-revolution@lists.runrev.com Sent: Thursday, August 14, 2008 7:50 PM Subject: missing a basic with drag Hello, I think I am missing some basic setup for providing a function with which the user can drag around an image on the card (to position the img for printing) What I did is: on dragStart put the name of the target into gDragTarget - global --- on dragMove set the loc of gDragTarget to the mouseloc --- I get the dragStart trigger, but the image doesn't move. Do I have to set any property of the image to be draggable? (I found this property only with stacks, but not objects.?) What am I missing? Thanks for any hint to a still beginner :-) Tiemo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Testing if the mouse clicked on ME (button)?!
Hi Jacqueline, Bloomin terrifying. :-o So, thanks very much for your encouragement, it really made me feel great! I'm so flat out with my toddler most of the time, and wish I had more time to stay in the Rev Zone. Or even keep up with all the posts daily phew! I just want to thank everyone sooo much for your time and detailed help with every question I have :) especially for the last 10 or so replies to my last questions that I haven't yet followed up on. Hope I get to read them all and work on them tonight FINALLY after a few days of toddler hell! Cheers, Heather - Original Message - From: J. Landman Gay [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Sunday, August 10, 2008 4:31 AM Subject: Re: Testing if the mouse clicked on ME (button)?! H Baric wrote: Making a timer, with just one button and one field. The one button is to start and stop the timer. The button's label is changed to Stop when it starts, and Start when it stops. I think I got that? But, how to test when the user clicks on the button during the process? (sorry, hey don't laugh! I have been searching and trying everything I know, which isn't much yet!) I'm just delighted you are posting here. I think this list can be scary for newcomers and they don't always post. I wish we had more like you. Please don't stop. But it's simple right? *blush* It can be, but the easy way isn't the right way. First let's fix your script to do it the easy way, and then I'll tell you why you shouldn't use it. on mouseUp if the label of me is Start then set the label of me to Stop repeat with tCount = 1 to 60 put tCount into fld Counter Show wait 1 second While this repeat is running, nothing else can happen. The 60-second wait will block all other processes on the whole computer while the repeat loop goes around and around. Other background programs will stop whatever they are doing, the whole CPU will hang in limbo until that minute is over. That's one reason why we don't do it this way. But let's look at the script some more anyway. if (I am clicked??) and the label of me is Stop then The event you want here is the mouseclick. When the user clicks, the mouseclick event is sent to whatever object is clicked. So the correct line is: if the mouseclick then You don't need to check to see if the label is stop because the first line of the if clause has already set that and it can't possibly be anything else. exit repeat set the label of me to Start When you exit the repeat, any remaining lines in the repeat loop will be skipped and the handler will proceed to the line after the end repeat. That means the label here will never be set to start because the loop has already exited. Change the order so that the exit is the last thing that happens: set the label of me to Start exit repeat So, here's the whole working script: on mouseUp if the label of me is Start then set the label of me to Stop repeat with tCount = 1 to 60 put tCount into fld Counter Show wait 1 second if the mouseclick then set the label of me to Start exit repeat end if end repeat end if end mouseUp That's the easy way, but don't do it. In addition to blocking the CPU while this repeat loop runs, there's another reason to avoid this technique. The mouseclick (or any other mouse events) are not reliable when checked in a loop. The engine will only recognize a mouse event if it occurs at the same moment the script is checking for it. In a very short loop, it will probably see the mouse event most of the time. But in very long scripts inside a repeat loop, another part of the handler may be running when the mouse is clicked (like during the 1-second wait above,) and the script won't be checking at that precise moment, so the loop will not exit. So a much better way to handle this kind of thing is to use the techniques that Eric and others have pointed out. It's more complicated, but it is more reliable and it doesn't block the CPU. There is more info about this technique here: http://www.hyperactivesw.com/polling.html Thanks again for posting, I hope you inspire all our other new Revvers to do the same. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: missing a basic with drag
Hello, yes indeed it is very simple, so I hope it is as simple to keep the grabed image within a rectangle foo while moving. I tried to compare the rect of my grabbed image with the rect of rectangle foo in the mousedown handler without success, because I can't stop the grab while mousedown. Then I tried to set the left/top/right/bot of the image to the rect of the rectangle in the mousemove handler in case my image left the boundaries, what technically works, but not nice (with heavy flickering, etc.) Probably there is such an easy answer, but which one? Additional question: What do I have to do that the user can resize an image? Selecting the image first, but moving one of the image handles do nothing happen :( Any clue? Thanks for coaching! Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von H Baric Gesendet: Donnerstag, 14. August 2008 12:21 An: How to use Revolution Betreff: Re: missing a basic with drag Isn't it as simple as this: on mouseDown grab me Works for me... is it meant to be more complicated? (Hehe, sorry everything else has been so far, I'm a n00b too!) *** I wasn't going to send this now I'm very happy to see that it was indeed correct woohooo! :D Cheers, Heather ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: missing a basic with drag
Hi Heather, Isn't it as simple as this: on mouseDown grab me Works for me... is it meant to be more complicated? (Hehe, sorry everything else has been so far, I'm a n00b too!) *** I wasn't going to send this now I'm very happy to see that it was indeed correct woohooo! :D Good girl! :-) Cheers, Heather Best from germany Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: missing a basic with drag
Hi Tiemo, Hello, yes indeed it is very simple, so I hope it is as simple to keep the grabed image within a rectangle foo while moving. I tried to compare the rect of my grabbed image with the rect of rectangle foo in the mousedown handler without success, because I can't stop the grab while mousedown. Then I tried to set the left/top/right/bot of the image to the rect of the rectangle in the mousemove handler in case my image left the boundaries, what technically works, but not nice (with heavy flickering, etc.) Probably there is such an easy answer, but which one? I always check what's necessary on mouseup in these cases. Additional question: What do I have to do that the user can resize an image? Selecting the image first, but moving one of the image handles do nothing happen :( Any clue? Oh, this is a bit more elaborate. Sorry, I am sitting at work and do not have the time for this right now. Any volunteers? ;-) Thanks for coaching! Macht fünf Mark! (Little german joke :-) Tiemo Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Federal holiday calculations
Devin, Nice job! Thank you! Never blush at a piece of old code... I go back into some of my earlier creations and cringe at the code I find. It worked. Always it worked. But * shiver * it wasn't always pretty :-) I appreciate the commenting, too! I'm curious, what did you need from the U.S. Naval Observatory site for this? Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Media and Rev libraries
Do the rev* specific libraries work with Media? There's never been a crystal clear clarification on what limitations Media has, except that it doesn't have access to a number of handlers. Even Rev apparently doesn't have a list of what those handlers are. (I asked them.) So before I spend days trying to figure out why it doesn't work, maybe someone can verify that it will work in Media. revPrintField the name of field someField does anyone know if it works in Media? I got no error, no feedback from it, just * nothing *. I did it from within a handler and nothing happened, the printer didn't open, just dead air. If I select the field and print from the File menu it prints just fine. So Rev is talking to the printer successfully. If the rev* libraries are in that list of handlers Media cannot use, it would be good to know before attempting to troubleshoot. Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: missing a basic with drag
Hi Klaus, thanks for answering I always check what's necessary on mouseup in these cases. Hmm, works but not very nice if the user moved the image out of the boundaries of the window when dragging and it flips back into the wanted boundaries, by mouseUp. I would think there must be a more elegant solution. Additional question: What do I have to do that the user can resize an image? Selecting the image first, but moving one of the image handles do nothing happen :( Any clue? Oh, this is a bit more elaborate. Sorry, I am sitting at work and do not have the time for this right now. Any volunteers? ;-) Thanks for coaching! Macht fünf Mark! (Little german joke :-) Hier haste nen Heiermann! (old german expression :-) Tiemo Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: missing a basic with drag
Hi Tiemo, Hi Klaus, thanks for answering I always check what's necessary on mouseup in these cases. Hmm, works but not very nice if the user moved the image out of the boundaries of the window when dragging and it flips back into the wanted boundaries, by mouseUp. I would think there must be a more elegant solution. You did not mention that you wanted an elegant solution :-D OK, elegant is possible, but also more elaborate. You will have to use mousemove handler and check the objects location in that handler. Still at work, no time for more elaborate info, sorry. Additional question: What do I have to do that the user can resize an image? Selecting the image first, but moving one of the image handles do nothing happen :( Any clue? Oh, this is a bit more elaborate. Sorry, I am sitting at work and do not have the time for this right now. Any volunteers? ;-) Thanks for coaching! Macht fünf Mark! (Little german joke :-) Hier haste nen Heiermann! (old german expression :-) Firma dankt :-D Yes, as you guessed, just another german joke. Tiemo Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Media and Rev libraries
Hi Shari, It is supposed to work. Which version of Rev Media do you have? Does revPrintField the long id of fld Some Field work? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 13:18, Shari wrote: Do the rev* specific libraries work with Media? There's never been a crystal clear clarification on what limitations Media has, except that it doesn't have access to a number of handlers. Even Rev apparently doesn't have a list of what those handlers are. (I asked them.) So before I spend days trying to figure out why it doesn't work, maybe someone can verify that it will work in Media. revPrintField the name of field someField does anyone know if it works in Media? I got no error, no feedback from it, just * nothing *. I did it from within a handler and nothing happened, the printer didn't open, just dead air. If I select the field and print from the File menu it prints just fine. So Rev is talking to the printer successfully. If the rev* libraries are in that list of handlers Media cannot use, it would be good to know before attempting to troubleshoot. Shari ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Federal holiday calculations
On Aug 14, 2008, at 5:05 AM, Shari wrote: Devin, Nice job! Thank you! Never blush at a piece of old code... I go back into some of my earlier creations and cringe at the code I find. It worked. Always it worked. But * shiver * it wasn't always pretty :-) I appreciate the commenting, too! I'm curious, what did you need from the U.S. Naval Observatory site for this? That's where I found the holiday formulas. See: http://aa.usno.navy.mil/faq/docs/holidays.php Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re:AW: AW: missing a basic with drag
On Thu Aug 14 Klaus Major klaus at major-k.de wrote: Hi Tiemo, Hi Klaus, thanks for answering I always check what's necessary on mouseup in these cases. Hmm, works but not very nice if the user moved the image out of the boundaries of the window when dragging and it flips back into the wanted boundaries, by mouseUp. I would think there must be a more elegant solution. You did not mention that you wanted an elegant solution :-D OK, elegant is possible, but also more elaborate. You will have to use mousemove handler and check the objects location in that handler. The script below works for me here sufficiently elegant: local cY,cX,movedobject on mouseDown put (the mouseH - item 1 of the loc of me) into cX put (the mouseV - item 2 of the loc of me) into cY put true into movedobject end mouseDown on mouseMove x,y if the mouseloc is within the rect of image big then # assuming the dragged image is moved within a larger image, # but - if not - you may remove the line above and the # end if in this mousemove handler if not movedobject then exit mouseMove set loc of me to x-cx,y-cY set the loc of img hiliteframe to the loc of me # hiliteframe is a transparent image where only the borders are non-transparent end if end mouseMove on mouseUp put false into movedobject end mouseUp on mouseRelease mouseUp end mouseRelease Best regards, Wilhelm Sanke http://www.sanke.org/MetaMedia ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: missing a basic with drag
try this alternative (put into your graphic object): #click to select and drag, click again to release on mouseDown set the dragMe of me to NOT the dragMe of me end mouseDown #moving... on mouseMove X,Y if the dragMe of me is TRUE then #will set the limits for the drag space to minY, maxY, minX, maxX if Y = minY and Y =maxY and X =minX and X = maxX then set the loc of me to X comma Y end if end if end mouseMove Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re:: AW: missing a basic with drag
FWIW, you can see several examples of custom dragging by executing the following in your Rev message box: go url http://www.tactilemedia.com/download/dragsample.rev; Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slightly OT - Dan the man
Thanks for the update Chip. Glad that he's being kept busy and really sorry about his pneumonia. Please pass on all of my best to him for a speedy recovery. best, Bob... ~~ Dan is really busy working on a huge web project on the west coast. He and Tuviah's kid brother have been building a new object-oriented paradigm(?) for browsers: http://www.noloh.com It has nothing to do with Rev. I just heard he went into the hospital last night with a bout of pneumonia-- hope he gets well soon. I'm out to see him, assuming he's well enough, next week. best, Chipp ~~ _ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Windows Vista security 'rendered useless' by researchers
On Aug 11, 2008, at 9:14 PM, Chipp Walters wrote: Peter, Thanks for posting this. Josh's story does appear to be a bit of a Chicken Little the sky is falling report. I use XP and not Vista, and according to your article, if I read it right, XP is even more vulnerable. And while I'm on multiple XP computers up to 8+ hrs most days-- I can't remember the last time I contracted a virus. So, I'll not worry. The article was not so much targeted at brilliant programmers such as yourself as to the other 99.9% of Windows users :-) Viruses are rampant on Windows machines, probably a dozen people in my family that own a Windows machine struggle with them almost constantly. If this new exploit is indeed 'unfixable', this could actually be the sky falling for IT firms who guarantee security for their clients. Many on this list consult for corporations and organizations, and need to be aware of news like this. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
protected file access by CGI script
How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. If you really want to check some password, include it as an argument to the CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 23:19, Phil Davis wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/ my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slightly OT - finding time
Bob, thanks! you know, its because of this community that I am still coding, if it wasn't for you guys I'd probably be selling beer on a kiosk here in Rio (the prospect of sunny days, beaches, wind and food is quite charming)! :-D I remember when I was starting with Rev and flooded the list with questions and to my amazement, people actually answered! So, I try to take my time to answer too! I agree with you, some guys (and girls) here do have the time travel external, it's impossible to do good work like they do and still answer our questions and discuss the merit of each solution! Kudos to all community! Andre On Wed, Aug 13, 2008 at 9:43 PM, Bob Earp [EMAIL PROTECTED] wrote: Dear Eric, Chip, Ray, Scott, Sara, Devin, Andre, Klaus and all of the other incredible and regular contributors to this list (sorry I can't list you all), you must obviously have invented a new time machine and are only sharing it between you. I need it !! I find barely enough time to scan digests and maybe once in a year answer something before at least 10 of you have provided solutions and wisdom I could only dream of. Not only that, but you find time to write tutorials and example stacks, and then sit and discuss the merits of one solution over another. Sheesh... I wish !! How do you do this ?? I know its been said before (and hopefully Kevin Miller is reading this), but without all of you Revolution would have gone the way of Oracle Media Objects. He should at least give you all free lifetime upgrades if not shares in the company. On behalf of the rest of us (and I think I'm in the majority group), many, many thanks for helping on a daily basis. No, correct that, it's generally on an hourly basis !! Warmest regards, Bob. PS, what's happened to Dan these days? _ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprotected directory and the target stack is in a password-protected directory. Both are on the same server. I assume that the stackfile in the protected folder can't be read by any user or process unless that the folder's username password are provided with the read request. Are you saying that's not the case? I'm hoping one of us is misunderstanding the other! Otherwise, what good is .htpasswd protection? In my experience so far, it doesn't work unless the target stackfile is in an unprotected directory. Then it works. Thanks Mark. If you really want to check some password, include it as an argument to the CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 23:19, Phil Davis wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Hi Phil, it gets worse. In some web server environments, the files can only be accessed depending on user group and the file permissions. So the trick is, make sure your files belong to the same user group of your user. Familiarize yourself with unix permission bits (those cryptic things such as 755, 644) and set your files with the correct ones depending of your objectives. check the chmod and chown unix commands. You can use them with FTP depending on the server like: get libURLftpCommand(SITE CHMOD 755,example.net:75,root,field password) :-D Andre On Thu, Aug 14, 2008 at 7:40 PM, Phil Davis [EMAIL PROTECTED] wrote: Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprotected directory and the target stack is in a password-protected directory. Both are on the same server. I assume that the stackfile in the protected folder can't be read by any user or process unless that the folder's username password are provided with the read request. Are you saying that's not the case? I'm hoping one of us is misunderstanding the other! Otherwise, what good is .htpasswd protection? In my experience so far, it doesn't work unless the target stackfile is in an unprotected directory. Then it works. Thanks Mark. If you really want to check some password, include it as an argument to the CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 23:19, Phil Davis wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Phil, I'm afraid you seem confused about the use of .htaccess. These files are only for restricting remote access through Apache web servers and have no effect on local file access. You may be seeing the difference because you have tried opening the stack through an HTTP url, which is a bit roundabout as you are asking the local web server to serve up a file that is already on your local file system. Have you tried changing: go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev to simply start using stack /home/username/my.domain.com/lockedFolder/ test1.rev ? HTH Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprotected directory and the target stack is in a password-protected directory. Both are on the same server. I assume that the stackfile in the protected folder can't be read by any user or process unless that the folder's username password are provided with the read request. Are you saying that's not the case? I'm hoping one of us is misunderstanding the other! Otherwise, what good is .htpasswd protection? In my experience so far, it doesn't work unless the target stackfile is in an unprotected directory. Then it works. Thanks Mark. If you really want to check some password, include it as an argument to the CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 23:19, Phil Davis wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/ my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
rtfText twilight zone problem
If you either download this stack: http://revcoders.org/stacks/rtfWeirdness.rev.zip or make one yourself: 1. create a field called draft, and a field called final (and a couple buttons) 2. put some text in it, and colorize some words in that field (either with the menu or by scripting) 3. then save the rtfText of the field to a file 4. button save: ON mouseUp ask file where? put the rtftext of fld draft into URL (file: it) END mouseUp 5. button load: ON mouseUp answer file which file? put url(file: it) into t1 set the rtftext of fld final to t1 -- at this point it is visibly clear colors have changed put the rtftext of fld final into t2 IF t1 t2 THEN answer nooo END mouseUp Do you get nooo every time? We do, on OS X, both PPC Intel. The variable t1 is always perfect... but once setting the rtfText of the field, it is set to a value VERY CLOSE, but NOT EXACTLY the variable. Wird! Are we in the twilight zone? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: rtfText twilight zone problem
Josh, I just downloaded your stack. I'm using a mac , 10.4.11 In Rev 2.9, I see the same weirdness you describe, but under 3.0 beta10, all is fine I can find no mention of rtfText bugs in the changeLogs, but it looks like something has got fixed. Best, Mark On 15 Aug 2008, at 00:09, Josh Mellicker wrote: If you either download this stack: http://revcoders.org/stacks/rtfWeirdness.rev.zip or make one yourself: 1. create a field called draft, and a field called final (and a couple buttons) 2. put some text in it, and colorize some words in that field (either with the menu or by scripting) 3. then save the rtfText of the field to a file 4. button save: ON mouseUp ask file where? put the rtftext of fld draft into URL (file: it) END mouseUp 5. button load: ON mouseUp answer file which file? put url(file: it) into t1 set the rtftext of fld final to t1 -- at this point it is visibly clear colors have changed put the rtftext of fld final into t2 IF t1 t2 THEN answer nooo END mouseUp Do you get nooo every time? We do, on OS X, both PPC Intel. The variable t1 is always perfect... but once setting the rtfText of the field, it is set to a value VERY CLOSE, but NOT EXACTLY the variable. Wird! Are we in the twilight zone? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Step 1 for me would be to check the file format = legacy, since the cgi engine is not recent Step 2 Try using a simple text files (actually a group of text files) having different protection settings (read access) This should give you the clues you need to go forward. On 8/14/08 2:19 PM, Phil Davis [EMAIL PROTECTED] wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.r ev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: rtfText twilight zone problem
Wow, thanks Mark! On Aug 14, 2008, at 5:43 PM, Mark Smith wrote: Josh, I just downloaded your stack. I'm using a mac , 10.4.11 In Rev 2.9, I see the same weirdness you describe, but under 3.0 beta10, all is fine I can find no mention of rtfText bugs in the changeLogs, but it looks like something has got fixed. Best, Mark On 15 Aug 2008, at 00:09, Josh Mellicker wrote: If you either download this stack: http://revcoders.org/stacks/rtfWeirdness.rev.zip or make one yourself: 1. create a field called draft, and a field called final (and a couple buttons) 2. put some text in it, and colorize some words in that field (either with the menu or by scripting) 3. then save the rtfText of the field to a file 4. button save: ON mouseUp ask file where? put the rtftext of fld draft into URL (file: it) END mouseUp 5. button load: ON mouseUp answer file which file? put url(file: it) into t1 set the rtftext of fld final to t1 -- at this point it is visibly clear colors have changed put the rtftext of fld final into t2 IF t1 t2 THEN answer nooo END mouseUp Do you get nooo every time? We do, on OS X, both PPC Intel. The variable t1 is always perfect... but once setting the rtfText of the field, it is set to a value VERY CLOSE, but NOT EXACTLY the variable. Wird! Are we in the twilight zone? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protected file access by CGI script
Brian Yennie wrote: Phil, I'm afraid you seem confused about the use of .htaccess. These files are only for restricting remote access through Apache web servers and have no effect on local file access. You may be seeing the difference because you have tried opening the stack through an HTTP url, which is a bit roundabout as you are asking the local web server to serve up a file that is already on your local file system. Have you tried changing: go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev to simply start using stack /home/username/my.domain.com/lockedFolder/test1.rev ? HTH It does indeed help! It works. Thanks so much Brian - and Andre, Jim, Mark. My permissions were good and I'm using the 2.9 engine, but I'm pretty new to .ht files so... it's my time to learn! Thanks guys. Phil Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprotected directory and the target stack is in a password-protected directory. Both are on the same server. I assume that the stackfile in the protected folder can't be read by any user or process unless that the folder's username password are provided with the read request. Are you saying that's not the case? I'm hoping one of us is misunderstanding the other! Otherwise, what good is .htpasswd protection? In my experience so far, it doesn't work unless the target stackfile is in an unprotected directory. Then it works. Thanks Mark. If you really want to check some password, include it as an argument to the CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 14 aug 2008, at 23:19, Phil Davis wrote: How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url http://username:[EMAIL PROTECTED]/lockedFolder/test1.rev go inv stack url binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.rev go inv stack url binfile://home/username/my.domain.com/lockedFolder/test1.rev When I try going to it by filepath without user/pass as follows, I get hung: go inv stack /home/username/my.domain.com/lockedFolder/test1.rev Any ideas how I can get it to work? I thought about altering the .htaccess file but I'm not sure what to tell it to allow, nor if that would do the job. Thanks for all responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution