This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > October 2007 > What is the purpose of sorting scripts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author What is the purpose of sorting scripts
Jim Merrick

2007-10-26, 6:21 pm

What differentiates trusted and restricted scripts?

Why?

Thanks

*****
Jim Merrick


Jim Merrick

2007-10-26, 6:21 pm

Oops, it got away too soon.

If I have a script and it does not say where to put it what is the default?

Thanks

*****
Jim Merrick


"Jim Merrick" <justfunnin@doingreat.com> wrote in message
news:47224037$1_2@cnews...
> What differentiates trusted and restricted scripts?
>
> Why?
>
> Thanks
>
> *****
> Jim Merrick
>



Trev

2007-10-26, 6:21 pm

Jim Merrick wrote:[color=darkred]
> Oops, it got away too soon.
>
> If I have a script and it does not say where to put it what is the
> default?
> Thanks
>
> *****
> Jim Merrick
>
>
> "Jim Merrick" <justfunnin@doingreat.com> wrote in message
> news:47224037$1_2@cnews...

Script restricted.

Script's can do many things and could be used to damage your computer. So
that can not happen. Scripts in the restricted folder are restricted to
actions that can not affect your computer or your images IE. they can not
save anything to the hard drive.
Trusted scripts are not scripts that you trust to work as the all should.
But scripts from a trusted source. Scripts in the trusted folder can for
instance open files on your computer modify and the save back to the hard
drive. All scripts can be opened in Notepad so that you can check what it
does If it looks as if it does something different from what its supposed to
Dont run it in trusted mode.

--
Trev
You can always tell a Yorkshire man,
But you can't tell him much.


Jim Merrick

2007-10-26, 6:21 pm

Thank you, Trev

(P.S. I thought it was a Scot)

*****
Jim Merrick


"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:47224390$1_1@cnews...
> Jim Merrick wrote:
>
> Script restricted.
>
> Script's can do many things and could be used to damage your computer. So
> that can not happen. Scripts in the restricted folder are restricted to
> actions that can not affect your computer or your images IE. they can not
> save anything to the hard drive.
> Trusted scripts are not scripts that you trust to work as the all should.
> But scripts from a trusted source. Scripts in the trusted folder can for
> instance open files on your computer modify and the save back to the hard
> drive. All scripts can be opened in Notepad so that you can check what it
> does If it looks as if it does something different from what its supposed
> to Dont run it in trusted mode.
>
> --
> Trev
> You can always tell a Yorkshire man,
> But you can't tell him much.
>



Bruce

2007-10-29, 4:17 am

Trusted scripts have access to file operations and could potentially be
used to harm your system.

But, scripts are plain text so you can inspect the script before running
it. It would be crazy to run any without at least looking at the code.

Bruce


Jim Merrick wrote:
> What differentiates trusted and restricted scripts?
>
> Why?
>
> Thanks
>
> *****
> Jim Merrick
>
>

Spandex Rutabaga

2007-10-29, 4:17 am

Jim Merrick wrote:
>
> What differentiates trusted and restricted scripts?


Restricted scripts use only PSP commands and don't open files.
However, in principle Python scripts (and Python is the scripting
language used by PSP) can execute operating system commands as
well. For example, they can send information to other computers
on the Internet, they can modify files on your system, they
can format your hard drive, and do all sorts of naughty things.
Therefore, you should put all your scripts in the Restricted
folder, because any script in such a folder will not be permitted
to execute any operating system command. If someone tells you
a script needs to be trusted, only use it if you trust the source
of the script completely and you have looked inside the script
with Notepad to get an idea of what it does. The names of the
commands may be long and confusing at first but they are actually
rather descriptive and self-explanatory. It should be possible
to spot naughty stuff without understanding the details of how
the script works.
Jim Merrick

2007-10-29, 7:19 pm

Again, Thanks to all you kind folks for explaining this

*****
Jim Merrick


"Spandex Rutabaga" <SpRu@agabatur.xednaps> wrote in message
news:472590A9.2D773883@agabatur.xednaps...
> Jim Merrick wrote:
>
> Restricted scripts use only PSP commands and don't open files.
> However, in principle Python scripts (and Python is the scripting
> language used by PSP) can execute operating system commands as
> well. For example, they can send information to other computers
> on the Internet, they can modify files on your system, they
> can format your hard drive, and do all sorts of naughty things.
> Therefore, you should put all your scripts in the Restricted
> folder, because any script in such a folder will not be permitted
> to execute any operating system command. If someone tells you
> a script needs to be trusted, only use it if you trust the source
> of the script completely and you have looked inside the script
> with Notepad to get an idea of what it does. The names of the
> commands may be long and confusing at first but they are actually
> rather descriptive and self-explanatory. It should be possible
> to spot naughty stuff without understanding the details of how
> the script works.



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews