• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Script and Trial Period

New Here ,
Aug 25, 2013 Aug 25, 2013

Copy link to clipboard

Copied

Hello,

A friend asked me a question. Is it possible to make a script being used for a certain period of time ? Like a trial Version ?

He writes script and shares them but he would like those scripts being used only a certain duration.

I don't think it is possible but who knows...

Best Regards

TOPICS
Actions and scripting

Views

701

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Aug 26, 2013 Aug 26, 2013

Copy link to clipboard

Copied

Yes, you can add a function that checks the current time and it it exceeds a set time it will bypass the script.  The only issue with this is that the scripts can't store the time the trial started, so it would have to be coded in when the script is distrubuted, or you would have to have the script create some sort of file CSV, xml, or txt file that could store that value, but the user could most likely modify that file too.  If you don't save as a binary file, it would also be extremely easy to bypass this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 26, 2013 Aug 26, 2013

Copy link to clipboard

Copied

Similar questions about securing a script come up from time to time. I have never seen anyone post a solution that could not be broken with very little effort.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2013 Aug 26, 2013

Copy link to clipboard

Copied

I think perhaps it could be done if you required an Internet connection during the trial period.  The script could retrieve the trial start time from the script writers web server. If its not found it would created the start date record for the current machine on the server and the local machine if no local recording. If the record get recorded  run if not don't run.  If found on the server compare the current date time. The question is something like that worth doing.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2013 Aug 27, 2013

Copy link to clipboard

Copied

LATEST

Thank Guys for your help. This is very Helpful.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines