Hey everyone! I'm new to developing applications and could use some guidance. I've created an application using PowerShell (PS) for scripting and Visual Studio for the GUI, which has become quite popular within my workplace. I packaged it using Windows' IExpress to create an EXE that points to a PowerShell script (PS1 file) stored on a shared drive. This lets me update the script, and users see the changes the next time they launch the EXE. Keeping the PS1 file in a hidden location has helped restrict unauthorized access to the code.
Now, another firm is interested in using my application, but I'm unsure how to secure the PS1 file in their environment. I would like to know if there's a way to store the PS1 file where only I can access it, or if there are features that companies provide for their vendors to host such files. I'm looking for a local solution, as cloud options may not be viable for us. Any tips would be greatly appreciated! Thanks!
1 Answer
I get where you're coming from, but if you want to keep your script secure, incorporating it directly into the application might be better than trying to "hide" it. However, creating a standalone application from your script might take some extra work. Do you know how to convert your PS script into an executable format? That's a more secure route than relying on hidden file locations.
Thanks for the input! I'm still pretty green at this. My PS1 has some XML components for the GUI too. What would you recommend as my next step to package everything properly?