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

Is there a way to create a password a packaged file?

Participant ,
Aug 06, 2024 Aug 06, 2024

Is there a way to create a password a pacaged file or at least on the idml file so that I can be sure that noone besides my client will access it.

 

<Title renamed by moderator>

TOPICS
Import and export
256
Translate
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 06, 2024 Aug 06, 2024

You can zip the package and add a password to that but no, from InDesign, there is absolutely nothing you can do.

Translate
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
Participant ,
Aug 06, 2024 Aug 06, 2024

How can I zip and add a password?

Translate
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
LEGEND ,
Aug 06, 2024 Aug 06, 2024
quote

How can I zip and add a password?


By @Hendy374084080dng

 

It depends on the tool you use. 

 

Translate
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
Participant ,
Aug 06, 2024 Aug 06, 2024

What's my best option?

And how do I go about it?

Translate
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 07, 2024 Aug 07, 2024

Can you use applescripts?

 

This is the code of applescript.

tell application "Finder"
    set scptList to {"cd ~/Desktop/" & linefeed, "zip", "-rj", "-P"}
    set psw to display dialog "Enter the password you want to set." default button 2 default answer ""
    if (button returned of psw is not "OK") or (text returned of psw is "") then
        error number -128 --quit script
    end if
    set end of scptList to (text returned of psw)
    set zipName to display dialog "Enter the name of the zip file." default button 2 default answer "hoge.zip"
    if (button returned of zipName is not "OK") or (text returned of zipName is "") then
        error number -128 --quit script
    end if
    set end of scptList to (text returned of zipName)
    set tgtFiles to choose file with prompt "Select the files or folders you want to zip." with multiple selections allowed
    repeat with i in tgtFiles
        set end of scptList to quoted form of (POSIX path of (i as string))
    end repeat
    set end of scptList to "-x \"*.DS_Store\""
    
    -- convert to texts from lists
    set defaultDelimit to AppleScript's text item delimiters
    set AppleScript's text item delimiters to " "
    set scptBody to scptList as text
    set AppleScript's text item delimiters to defaultDelimit
    
    do shell script scptBody
end tell

Save this code as an .app file in your script editor and double-click on it to use it.

I hope it works out.


Uske_S
Translate
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
LEGEND ,
Aug 07, 2024 Aug 07, 2024
LATEST
quote

What's my best option?

And how do I go about it?


By @Hendy374084080dng

 

What's your platform? 

 

Translate
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