exe compiler secure?

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
fergusfog
Posts: 13
Joined: Wed Jun 08, 2011 1:15 am

exe compiler secure?

Post by fergusfog » Tue Oct 20, 2015 3:41 am

Hey folks,

I need to distribute a PS1 script while preventing people getting to the password inside. Basically it's for assigning licences to Office 365 users, and I don't want these guys having the creds to 365.

PowerGUI has a 'compiler' which is anything but.
PS2EXE kind of compiles it, but not really (as I understand it).
Can Sapien PS Studio hide the code satisfactorily?

Thanks,

Fergus,

User avatar
SAPIEN Support Forums
Posts: 945
Joined: Wed Dec 03, 2014 2:26 pm

exe compiler secure?

Post by SAPIEN Support Forums » Tue Oct 20, 2015 3:41 am

This is an automated post. A real person will respond soon.

Thank you for posting, fergusfog.

Here are some hints to help you get an accurate and complete answer to your question.

Ask in the best forum: If you asked in the wrong forum, just copy your question to the right forum.

Anticipate follow-up questions!

Did you remember to include the following?
  • 1. Product, version and build
    2. 32 or 64 bit product
    3. Operating system, e.g. Windows 7 64 bit.
    4. Attach a screenshot, if applicable
    5. Attach logs, crash reports, etc., in a ZIP file
If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***

User avatar
Alexander Riedel
Posts: 7023
Joined: Tue May 29, 2007 4:43 pm

Re: exe compiler secure?

Post by Alexander Riedel » Tue Oct 20, 2015 3:49 am

Please see here: https://www.sapien.com/blog/2012/04/30/how-safe-are-credentials-in-script-packages/
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
fergusfog
Posts: 13
Joined: Wed Jun 08, 2011 1:15 am

Re: exe compiler secure?

Post by fergusfog » Tue Oct 20, 2015 4:30 am

Thanks Alex, very useful.

Can I suggest the link in the blog is updated? It redirects to the front page instead of the downloads.

F.

Locked