revsecurtity.dll
Terry Judd
terry.judd at unimelb.edu.au
Mon Mar 26 18:55:05 EDT 2012
Hi Klaus,
Again, this might not be the solution you're looking for, but you could hide the dll. We use this approach on cross-platform USB drives we give to all our students. Both the revsecurity.dll and revpdfprinter.dll get hidden along with a bunch of folders we don't want the students poking around in.
On Windows we hide the necessary files/folders by setting their system and hidden flags like this (assuming thePaths contains a cr delimited list of valid file/folder paths )...
set the hideconsolewindows to true
put empty into tErrors
repeat for each line tPath in thePaths
put theFolder&tPath into tPath
if last char of tPath = slash then
delete last char of tPath
end if
replace "/" with "\" in tPath
put "attrib +s +h ""e&tPath"e into tScript
get shell(tScript)
if it is not empty then
put it &cr after tErrors
end if
end repeat
return tErrors
...now of course the file will still be visible if the end user has hidden system files set to be visible but in our experience this is rarely the case (some users choose to show hidden files but very few show hidden system files).
If you can't hide the file beforehand then you can easily run the above routine the first time the application is run - at least that way it's only visible briefly.
Terry...
On 27/03/2012, at 07:45 AM, Monte Goulding wrote:
>
>
>>
>> Yes, but I was hoping for a waaay easier solution ;-)
>
> Maybe look for an alternative command line solution you can distribute with your app then.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
More information about the use-livecode
mailing list